Re:Using Rust at a startup: A cautionary tale
by zozbot234 on Saturday December 03, 2022 @01:01PM
(#33845631)
> automatic memory management enables a bunch of abstractions that the Rust developers gave up on long ago.
These claims should really come with sourcing. Rust devs have been raising the potential for abstraction in Rust since the initial 1.0 release, most recently with GAT's. What's always been quite hard is zero overhead abstraction, which GC languages simply have no equivalent for.
Re:Using Rust at a startup: A cautionary tale
by marcosdumay on Saturday December 03, 2022 @04:19PM
(#33847476)
Sourcing for my "water is wet" claim? Just try writing a language parser in Rust and Haskell and you'll see the difference. Or, to be more on topic, write some database to HTML on Rust and note how you have to keep track of your templates' lifetimes.
The Rust developers are a bunch of very smart people working hard on creating a great language, but they can't do impossible things.
Re:Using Rust at a startup: A cautionary tale
by steveklabnik on Saturday December 03, 2022 @05:52PM
(#33848328)
I have written HTML templates and never had to keep track of lifetimes. Do you have an example of how that happens?
If you want high level abstractions, well, automatic memory management enables a bunch of abstractions that the Rust developers gave up on long ago. There are languages with many more capabilities than the ones Rust gives you.
If you have a high level problem, you don't want to spend your focus on low level issues.