News for hackers. Stuff that matters.
Re:Microsoft is creating a new Rust-based programming langua... by bluejekyll on Tuesday December 03, 2019 @04:04AM (#21690947)
Rust’s macro system gives you this already. Is there something you see it not providing that the language you’re imagining would?
Re:Microsoft is creating a new Rust-based programming langua... by zaarn on Tuesday December 03, 2019 @04:30AM (#21691046)
Rust's current macro's aren't as powerful as I would like them, and procedural macros are far more difficult and extremely hard to properly develop and debug.

The substitution macros aren't that much fun either since they lack certain capabilities (like introducing a new variable into the current scope without having to specify the name redundantly).

Without a lot of external libraries, procedural macros are almost impossible to write in my experience.

Neither of them allows one to properly code onto the type system or replace it and neither is properly supported by the IDEs (or RLS).

Re:Microsoft is creating a new Rust-based programming langua... by cztomsik on Tuesday December 03, 2019 @11:50AM (#21694002)
rust proc macros are limited because they need to be in a separate crate and syn is also not that much easier to work with, it's too level IMHO
Re:Microsoft is creating a new Rust-based programming langua... by mrkeen on Tuesday December 03, 2019 @05:08AM (#21691205)
I'd like to be able to hide Future, Vec, Result, etc. behind a trait.