3 ms·
> I wonder if it's possible to design a language that would be able to prevent these problems at compile time without incurring the runtime cost of managed lang
by pcwalton 13y ago
> I wonder if it's possible to design a language that would be able to prevent these problems at compile time without incurring the runtime cost of managed languages.
Rust does this. :) It is not easy to get right—the borrow checker required a lot of design work to achieve the right balance between expressiveness and practicality—but I think we've shown that it is possible.
(Disclaimer: I work on Rust.)