A diatribe on Rust

Paul Backus snarwin at gmail.com
Thu May 13 02:24:51 UTC 2021


On Thursday, 13 May 2021 at 02:09:20 UTC, Andrei Alexandrescu 
wrote:
> https://www.youtube.com/watch?v=ksTyCQwHGro&t=3317s
>
> I wonder where D stands with regard to the author's various 
> comparisons and contrasts between Rust and C++.

The substantive criticisms appear to be:

1. Binary bloat
2. Long compilation times
3. Poor C interop
4. Safety checking often fails to prevent bugs in practice (due 
to `unsafe`)
5. General immaturity of tooling & ecosystem

D does much better at (3) and either a little or a lot better at 
(2) depending on how heavily you use templates. (1) and (4) are 
probably pretty similar. (5) is similar now, but Rust appears to 
be on a better trajectory.


More information about the Digitalmars-d mailing list