3 ms·
It would be better if everyone would refrain from making comments like this about any project ever. You have made an inflammatory, unnuanced, and ill-informed i
by tatterdemalion 10y ago
It would be better if everyone would refrain from making comments like this about any project ever. You have made an inflammatory, unnuanced, and ill-informed interpretation of a complicated issue and used it to publicly thrash a lot of people's hard works. You are lowering the discourse.
I know that Rust in particular tries to be very open about the caveats to its claims, but this is the kind of commentary that causes any ambitious project to try to minimize and hide its weaknesses instead of openly and honestly discussing them. I opened this discussion knowing that there would be a comment just like yours, and it made my heart feel heavy.
- Annatar 10y ago> It would be better if everyone would refrain from making comments like this about any project ever. You have made an inflammatory, unnuanced, and ill-informed interpretation of a complicated issue and used it to publicly thrash a lot of people's hard works. Something as core as proper stack handling is to me basic functionality. If the aim is to be a safe language, and there are undefined behaviors, or in this case such bugs, then this is at odds with the Rust public relations effort. And, any project which resents such technical / conceptual criticism leaves one with much to ponder.
- Manishearth 10y ago> Something as core as proper stack handling is to me basic functionality. rustc handles it just as much as other compilers do. It should be safer than that, but it's currently not due to a compiler bug, and features making it safer are not "basic stack handling". This is not undefined behavior, as has been said multiple times in this thread; please stop repeating this lie. This is a deterministic crash that can't be exploited easily. > And, any project which resents such technical / conceptual criticism leaves one with much to ponder. No, their comment said "inflammatory/unnuanced/ill-informed criticism". Which yours is.
- Annatar 10y ago> This is not undefined behavior, as has been said multiple times in this thread; please stop repeating this lie. I wrote: "and there are undefined behaviors, or in this case such bugs". "Whoever can read is clearly at an advantage". > No, their comment said "inflammatory/unnuanced/ill-informed criticism". Which yours is. I'll tell you what: if I had deployed Rust in production and I ran into crap like the article described, I'd be really pissed.
- Manishearth 10y agoThis "crap" is a stack overflow. The "correct" way of handling this crap is to terminate the process on a stack overflow (Rust does this for most stack overflows anyway). The current incorrect way causes a segfault instead, which also terminates the process -- not much of a difference for a production user; it crashes either way. This can lead to bad memory reads if you try really hard to write code that leads to it, and that too it will happen a small fraction of the time -- all the other times it will segfault-crash (and would be caught in testing or in deployment without being exploited).
- deleted 10y ago[deleted]