4 ms·
Also, there are many classes of errors that Rust doesn't help solve, but which people seem to get the impression that it does aim to solve, which can be confusi
by sephware 8y ago
Also, there are many classes of errors that Rust doesn't help solve, but which people seem to get the impression that it does aim to solve, which can be confusing and counterproductive when choosing a language because of the classes of errors it aims to solve (often a big motivator in both designing and choosing a language; see Swift and Go).
- vram22 8y ago>Also, there are many classes of errors that Rust doesn't help solve, but which people seem to get the impression that it does aim to solve What are some of those?
- steveklabnik 8y agoThe big one is memory leaks. People also assume “race conditions” instead of “data races.”
- vram22 8y agoThanks for the info. I need to look up the latter point, the difference between the two. Saw it mentioned in an article or book about Go too. Looked it up, found these links, for anyone interested: https://blog.regehr.org/archives/490 https://blog.regehr.org/archives/490 https://stackoverflow.com/questions/11276259/are-data-races-and-race-condition-actually-the-same-thing-in-context-of-conc https://stackoverflow.com/questions/11276259/are-data-races-...
- steveklabnik 8y agoAny time! And yeah, those links are excellent.
- vram22 8y agoCool, good to know :)
- dbaupp 8y agoFWIW, Rust does help with both of those, but it doesn't resolve them entirely. This is nitpicking slightly but the original comment did say 'help'.
- steveklabnik 8y agoFair!