News for hackers. Stuff that matters.
Re:The problem of effects in Rust (2020) by api on Saturday August 28, 2021 @09:37AM (#28337935)
Rust occupies the C++ space, and is a massive improvement over C++. It’s type system is relatively complex but in practice is simpler to use than C++ once you learn it and far less bug prone.

The dogmatic C partisans who insist on building houses out of sand with tweezers will never like it.

It’s basically C++ rebooted with ideas from Haskell, Go, and other modern languages. If Rust completely displaced C++ that would be a huge win for productivity and security / reliability.

Re:The problem of effects in Rust (2020) by anacrolix on Saturday August 28, 2021 @10:01PM (#28343417)
There's nothing modern about Go.
Re:The problem of effects in Rust (2020) by api on Sunday August 29, 2021 @08:36AM (#28346212)
Yes there is: simplicity and lack of needless cleverness.

Overengineering is the great plague of modern software.

Rust contains a little bit of needless cleverness but most of its complexity is essential to the problem domain of low level systems programming and intrinsic safety. Go operates at a different level with a fat library (almost a VM) and garbage collection, allowing for a very simple type system. Both languages are modern but fill different niches.

Rust is new C++ while Go is closer to Python or early pre-complexity-orgy Java.