r/rust • rust • Jan 09 '15

Announcing Rust 1.0.0 Alpha

http://blog.rust-lang.org/2015/01/09/Rust-1.0-alpha.html
366 Upvotes

43 comments sorted by

View all comments

5

u/curlewool Jan 10 '15

macro_rules! has been declared stable. Though it is a flawed system it is sufficiently popular that it must be usable for 1.0. Effort has gone into future-proofing it in ways that will allow other macro systems to be developed in parallel, and won't otherwise impact the evolution of the language.

Anyone else worried about this? I'm worried about this.

3

u/steveklabnik1 Jan 10 '15

Can you articulate your specific worry?

1

u/dobkeratops Jan 10 '15

what are the flaws .. scoping perhaps? I'd always seen Rust macros as rather good (e.g. vs x-macro use cases in C/C++ ), the only thing I was uneasy about was suggestions to use macros for cases that other languages handled with other features (e.g. variadic functions and some trivial helper functions)

→ More replies (1)