4 ms·
I have used D but no Rust yet. They look superficially similar. On the Rust side, algebraic data types, an AST macro system, saner tuples, non-nullable and imm
by p0nce 14y ago
I have used D but no Rust yet. They look superficially similar.
On the Rust side, algebraic data types, an AST macro system, saner tuples, non-nullable and immutability by default. I'm a bit skeptic about the different pointer types and how they will interact with meta-programming.
On the D side, many good things like unittest(), best-in-class overloading support, compile-time everything, etc.
http://laser.inf.ethz.ch/2012/slides/Alexandrescu/2-D%20course%20parts%201%20and%202.pdf http://laser.inf.ethz.ch/2012/slides/Alexandrescu/2-D%20cour...