4 ms·
Having written a bit of Rust, I'm not sure it's suited to being the default language for any platform, simply because it's really hard; it forces you to plan th
by andrewflnr 12y ago
Having written a bit of Rust, I'm not sure it's suited to being the default language for any platform, simply because it's really hard; it forces you to plan the lifetimes of your data pretty carefully. If you don't actually need all the guarantees and performance Rust gives, it's quite possibly a better idea to go with a managed language. Not that I wouldn't like to see it be a first-class option, just not the first one you point the masses at.
I'd be happy to be convinced otherwise by someone who knows more. :)
- pjmlp 12y agoIt is still way easier than using languages with manual memory management like C and Pascal derivatives. Since you are not forced to think about lifetimes, then you get memory leaks, double frees and dangling pointers, usually leading to crashes in totally unrelated locations or worse, security exploits.
- andrewflnr 12y agoUm, right. I did suggest a managed language as an alternative.
- pjmlp 12y agoYeah right, but for me managed is a term coined by Microsoft as .NET was introduced. Any language with automatic memory management, be it via dataflow analysis, RC or GC is managed.