Re:Rust 1.43
by Koshkin on Thursday April 23, 2020 @12:00PM
(#22957376)
The looks of this makes me want to go back to Lisp.
[ Parent
| on HN ]
This macro system is very powerful, if kludgy, but it's not the final version of the system. Macros 2.0 has been in the works for a while now and will eventually have a much nicer syntax for macro definitions. When Rust 1.0 was gearing up for release the team (rightly imo) decided that launching then with known-imperfect-but-usable macros was a worthwhile trade-off.
Rust's macros are unpleasant to write and debug but very nice to use. The language is also much more expressive than C so I don't find myself needing to (ab)use macros quite as often.
Of course lisp macros are on a different level but the languages are massively different so it's not necessarily a super fair comparison.
One issue with macros is that they are currently breaking most IDE integrations.
Re:Rust 1.43
by steveklabnik on Thursday April 23, 2020 @12:27PM
(#22957709)
It was designed and implemented by some huge Racket fans, incidentally...