4 ms·
So many memory corruption issues, I'd like to think in 5/10 years time this would be solved and everything written in a safe language but maybe I'm being optimi
by abritishguy 11y ago
So many memory corruption issues, I'd like to think in 5/10 years time this would be solved and everything written in a safe language but maybe I'm being optimistic.
- knodi 11y agoThats the same thing people said 10 years ago.
- wtallis 11y agoThe people saying that 10 years ago were quite obviously being unrealistic. Holding such an opinion back then was essentially predicting that C++ would be replaced by Java, Python, etc. Now, we've got languages like Rust that offer improved safety mechanisms without really sacrificing expressiveness or runtime performance the way "managed" languages do, so there's a real alternative for software that needs the highest performance or best battery life.
- tambourine_man 11y agoIf by safe you mean memory managed by default with opting out (unsafe keyword, or something similar), then I would bet so. If you mean safe like there's no way a programer can screw this (100% memory managed like JavaScript, Python, Ruby) than I'd bet not.
- abritishguy 11y agoThe former, something like Rust.