News for hackers. Stuff that matters.
Re:Ask HN: Why is there not a memory-safe C? by bigato on Thursday May 24, 2018 @08:05AM (#17143137)
The OP didn't ask for zero cost abstractions. Furthermore, maybe "zero-cost" is not the best way to describe Rust abstraction; they may be zero cost for the machine at runtime, in exchange for a bigger mental burden on the programmer, thus being better labeled as a trade-off in more speed in exchange for more complexity. Whether this trade-off is worth it, will depend on some factors like the use case and the programmers involved. And the OP was actually complaining about the added complexity, thus my answer being Go.
Re:Ask HN: Why is there not a memory-safe C? by steveklabnik on Thursday May 24, 2018 @10:22AM (#17144218)
> Furthermore, maybe "zero-cost" is not the best way to describe Rust abstraction

"Zero-cost" has always been about runtime cost. Other costs are not part of the slogan. Everything always has a cost!

Re:Ask HN: Why is there not a memory-safe C? by majewsky on Thursday May 24, 2018 @10:21PM (#17150161)
And notably, Rust didn't start the "zero-cost abstraction" meme, C++ did.
Re:Ask HN: Why is there not a memory-safe C? by steveklabnik on Friday May 25, 2018 @02:09AM (#17151034)
Yup!
Re:Ask HN: Why is there not a memory-safe C? by RaleyField on Thursday May 24, 2018 @11:36AM (#17145036)
> bigger mental burden on the programmer

Only sometimes. For complex enough problems I think mental burden of writing and maintaining software in less complex language will become more burdensome than the intrinsic burden that comes with more complex language.