4 ms·
Rust is immature in general. It will probably make a perfectly good language for web, comparable to e.g. OCaml, though the manual memory management is always go
by lmm 11y ago
Rust is immature in general. It will probably make a perfectly good language for web, comparable to e.g. OCaml, though the manual memory management is always going to add a little bit of overhead. IMO the web is a lot like anything else, and the best web languages are just the best general-purpose programming languages.
- dikaiosune 11y agoI haven't written a lot of Rust, but what manual memory management are you referring to? As far as I can tell, the whole point of the language is that you don't have to worry about that if you listen to the compiler.
- SamReidHughes 11y agoYou have to think about it. You don't have to worry about it.
- habitue 11y agoThis sounds like Rust propaganda! It's too slick...
- baq 11y agoit sounds slick, but for the first few hours you'll think that hell is a nicer place than here because the borrow checker won't be there. it takes a while for it to become slick again and only then you really start to appreciate the language. theory vs practive and all that.
- pzone 11y agoIt's sort of the opposite, it's that the compiler won't permit you to neglect any aspect of memory management until it deems your work passable. You think about memory management even more than you would in most languages. The result is you get some guarantees about correctness.
- kod 11y agoYou may have to think about it, but you certainly aren't doing the work of e.g. writing malloc and free statements.