[OT] Lifetime elision proposal in Rust (& regex macro)

Ary Borenszweig via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 30 10:28:05 PDT 2014


On 6/30/14, 1:50 PM, Nick Treleaven wrote:
> Hi,
> This recent proposal looks like it might clean up typical Rust function
> signatures significantly:
> https://github.com/aturon/rfcs/blob/lifetime-elision/active/0000-lifetime-elision.md
>
>
> Some discussion here:
> http://www.reddit.com/r/rust/comments/298j3y/question_about_lifetime_parameters/ciig6ol
>
>
> I thought it might be interesting, and perhaps relevant for D (e.g.
> scope or ref returns?).
>
> In older news, Rust has syntax extensions, which are used for
> compile-time regex compilation:
> http://doc.rust-lang.org/regex/index.html#the-regex!-macro
>
> These two developments seem to be making Rust a bit more competitive
> with D.

What are those 'a all over the place? I never understood them :-(


More information about the Digitalmars-d mailing list