News for hackers. Stuff that matters.
Re:Was Rust Worth It? by mejutoco on Thursday October 26, 2023 @06:32AM (#38023826)
Couldn't one use Arc and similar boxed types to avoid thinking about memory until later?
Re:Was Rust Worth It? by TylerE on Thursday October 26, 2023 @10:49PM (#38034132)
Why not just something like nim and that point, and straight up ditch 90% of the complexity?
Re:Was Rust Worth It? by mejutoco on Friday October 27, 2023 @09:42AM (#38038316)
I was answering to this other user:

> This is factually impossible.

> For anything larger than (very) small programs, Rust requires an upfront design stage, due to ownership, that it's not required when developing in GC'ed languages.

It seems that is not factually impossible.

Now, answering your question: It could be useful to use boxed types and later optimize it, so you get the benefits of rust (memory safety, zero cost abstractions) later, without getting the problems upfront when prototyping.