3 ms·
It is very nice that those languages have those features. But it is quite rare that people who are used to C or Python code bases are switching to those languag
by phicoh 3y ago
It is very nice that those languages have those features. But it is quite rare that people who are used to C or Python code bases are switching to those languages.
In particular a strong point of Rust is that C programmers feel comfortable switching to Rust in way that has not happened with other safe languages.
- pjmlp 3y agoC folks hardly change to anything, at least the hardcore ones, unless forced to by external forces. Python well, it isn't as if Rust is on the same level of developer experience and friendliness. With CPython finally getting a JIT, and Mojo, I don't force that happening long term. In any case, hardly changes the fact of not being Rust specific type system features not available anywhere else.
- phicoh 3y agoThere is a huge amount of C programs and libraries that were written in C because back then it was the best tool for the job. A lot of people are not convinced about C++, but for many things that were written in C, Rust is now a good option. More and more people are asking questions about how C programs avoid memory errors. The easy solution is to switch to Rust for new programs and libraries. Python has the problem that large Python programs are often awkward. There are many reasons for that. And somehow the Python community doesn't seem to be able to solve those issues. Rust is a lot better in that respect.
- frou_dh 3y agoMany of those random userspace C programs (i.e. stuff in the (1) manpage section) could have been rewritten in e.g. OCaml just fine ages ago, if only people were paying attention and not in the curly brace mind prison.
- angra_mainyu 3y agoI disagree. It's much more common to go from C to Python, Go or even Zig, rather than Rust. I think the C++ to Rust transition is by far the most common one.
- lelanthran 3y ago> In particular a strong point of Rust is that C programmers feel comfortable switching to Rust in way that has not happened with other safe languages. I don't see this at all. C++ programmers might be switching, but C programmers aren't reaching for Rust when they need something better than C.