A diatribe on Rust
Paul Backus
snarwin at gmail.com
Thu May 13 16:11:33 UTC 2021
On Thursday, 13 May 2021 at 14:38:24 UTC, sighoya wrote:
>
> https://blog.darklang.com/why-dark-didnt-choose-rust/
One bit that particularly stood out to me:
> I think most of us don't need Rust. I think Rust is a wonderful
> community, ecosystem, and tooling, wrapping a language that
> nicely solves a problem very few of us have. It's just so nice
> over there, until you actually write code.
>
> It's easy to forget, given how nice everything is with the
> error messages and the docs, that Rust is a very low-level
> language. We're so attracted to the community and the tooling
> that we forget that low-level languages suck. Maybe Rust has a
> better story than most low-level languages, but remember that
> garbage collectors are great. By having a GC, we don't have to
> do any of the stuff that causes all these problems in Rust.
> Maybe that costs performance, but I need the ability to quickly
> write code a lot more than I need the extra performance.
A potential advantage of D, compared to Rust, is that while you
*can* write low-level code in D, you're not *forced* to. So even
if Rust is a better language for projects that are 100%
low-level, D may be a better choice for projects that are mostly
high-level, but need the ability to dip down into low-level code
in specific places.
More information about the Digitalmars-d
mailing list