4 ms·
What do you have against Rust?
by sedatk 4y ago
What do you have against Rust?
- deleted 4y ago[deleted]
- k__ 4y agoHaha, good question. Should have used Nim, to make it interesting :D
- aidaman 4y agotoo complicated
- mr90210 4y agoThe whole rewrite everything in Rust.
- crabbygrabby 4y agoThat's mostly a thing teenagers are doing to learn CS, when it's not it's because the software is vulnerable or slow and benefits from a rewrite in a safe language.
- jokethrowaway 4y agoRewriting into a safe language actually has some benefits - namely safety compile time guarantees. Only RAM manufacturers like memory leaks.
- Cthulhu_ 4y agoWhile true, I think there's a lot of "this is better because it's been written in Rust" software around these days. The emphasis is on the language, not the problem being solved.
- conaclos 4y agoAgreed. Some project attract attention just because it is written in Rust. Although Rust is well-designed, the language does not make everything.
- krona 4y agoMemory leaks in rust might be less common than a fully GC'ed language but saying rust prevents or makes them less common than e.g. zig/c++ seems like a stretch.
- crabbygrabby 4y agoYou literally cannot get them period in rust. Like it is not possible. That's the point of rust.
- 3836293648 4y agoLeaks are absolutely considered safe by rust. Just look at Box::leak. And if we're comparing it to GC'd "leaks", those are typically hashmaps growning out of control and that can also happen
- voorwerpjes 4y agoLeaks can happen in rust. The guarantee safe rust makes is that memory leaks cannot result in undefined behavior.
- sedatk 4y agoHow is that worse than Zig in that context?
- Existenceblinks 4y agoThe bible is too thick!
- avgcorrection 4y agoIt is effectively bait, irrespective of intent. Why would you say that “this pastry is great: it’s blueberry and not chocolate”. Is the implication that 50% of the enjoyment is on account of what it is not? Just weird.