10 ms·
I think in part it's because those historical separations were driven by multiple factors: not just things like whether you manage memory directly but how cumbe
by acdha 4y ago
I think in part it's because those historical separations were driven by multiple factors: not just things like whether you manage memory directly but how cumbersome the language was, the range and portability of libraries, etc. Some of Java's appeal was no longer fighting the myriad of different libc misimplementations across various operating systems in the 90s.
Rust is interesting because not only is it good at low-level control but it has very advanced language structures and rich libraries (unlike C), better ergonomics than Java, a great async implementation, etc. That expands the range of problems you might consider a “low-level” language for considerably since you no longer have the tedium of basic things like primitive data and control structures, non-ASCII text processing, etc. steering you towards other choices.
Go is an interesting middle language because it has some higher level features but also surprisingly limited types and C-style error handling, so you had the somewhat unusual case where people who wanted either low-level control or better robustness, advanced typing, packaging, friendlier compiler error messages, etc. might reasonably conclude Rust is a better choice. I'd still say Rust is harder to learn but the situation feels somewhat unique compared to the past where e.g. you really had to want the advanced features in C++ to pay the productivity tax of using it.