[OT] Lifetime elision proposal in Rust (& regex macro)
Nick Treleaven via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jun 30 09:50:26 PDT 2014
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.
More information about the Digitalmars-d
mailing list