4 ms·
Yay, item macros. Means top-level elements can now dynamically created. Also another big change is "auto-move" where you don't have to write move everywhere. A
by kodablah 14y ago
Yay, item macros. Means top-level elements can now dynamically created. Also another big change is "auto-move" where you don't have to write move everywhere.
Also the repl is nice. I think having this and having Rust bootstrapped give it a leg up on Go.
- swah 14y agoI was not aware Rust had macros. Does that mean one can write lispy things like the "with-*" macros ? Sorry, I'm afraid I'm confessing my affair with Emacs but I swore I'd leave her behind...
- kibwen 14y agoRust's macros are generally Scheme-like (macro-by-example), although it's not exactly the same since Rust obviously doesn't use S-expressions. See http://static.rust-lang.org/doc/0.5/tutorial-macros.html http://static.rust-lang.org/doc/0.5/tutorial-macros.html for a little more info on Rust's macros system.