A diatribe on Rust

Paulo Pinto pjmlp at progtools.org
Thu May 13 06:26:00 UTC 2021


On Thursday, 13 May 2021 at 02:24:51 UTC, Paul Backus wrote:
> 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.

Rust is definitely on a better trajectory.

https://security.googleblog.com/2021/04/rust-in-android-platform.html

https://blogs.windows.com/windowsdeveloper/2021/05/06/announcing-rust-for-windows-v0-9/

https://aws.amazon.com/blogs/opensource/innovating-with-rust/

https://security.googleblog.com/2021/04/rust-in-linux-kernel.html

https://engineering.fb.com/2021/04/29/developer-tools/rust/

Right now the best is to really fix the pending issues, instead 
of trying to compete with Rust, the language has hit jackpot with 
Linux kernel, Android and Windows support from the vendors 
themselves.


More information about the Digitalmars-d mailing list