3 ms·
> You can get some of these guarantees by restricting yourself to coding a certain way but they kinda fall apart when stuff gets complex in my experience. I wo
by mehrdadn 9y ago
> You can get some of these guarantees by restricting yourself to coding a certain way but they kinda fall apart when stuff gets complex in my experience.
I would assume that in Rust it would fall apart just the same, except perhaps at compile-time rather than at run-time?
- Manishearth 9y ago> I would assume that in Rust it would fall apart just the same, except perhaps at compile-time rather than at run-time? No, because Rust gives you the tools to compartmentalize this stuff pretty well. Yes, if you write an unsound program it will fail to compile, but the language also guides you in the direction of not writing one, so huge complicated codebases written in 100% safe rust are possible and do compile. With C++ as complexity grows it's harder to keep stuff safe, in my experience. YMMV.