News for hackers. Stuff that matters.
Re:Ask HN: Why do you use Rust, when D is available? by adamnemecek on Friday June 12, 2020 @11:37AM (#23500302)
Why are they impossible in Rust? Are you aware of Rust's macros right?
Re:Ask HN: Why do you use Rust, when D is available? by ncmncm on Friday June 12, 2020 @02:59PM (#23502470)
Rust macros know nothing about types, but types are what do all the work at compile time.
Re:Ask HN: Why do you use Rust, when D is available? by adamnemecek on Saturday June 13, 2020 @11:10AM (#23509952)
Do they have to know about types?
Re:Ask HN: Why do you use Rust, when D is available? by ncmncm on Monday June 15, 2020 @12:28AM (#23523799)
Only to build designs that today are possible only in C++.

Type-aware macros might not be the best way to implement the features needed to match C++.