36 ms·
In what ways do you think Rust is not flexible enough? I ask because I can think of a few ways it’s less flexible than C, but I also think that effect is massi
by School-Cotton 3y ago
In what ways do you think Rust is not flexible enough?
I ask because I can think of a few ways it’s less flexible than C, but I also think that effect is massively overstated by people who aren’t familiar with the language. There are OS kernels written in Rust, for example.
- HarHarVeryFunny 3y agoFrom what I've read it seems that certain types of data structure (incl. anything with potentially circular references) are difficult to write in Rust - you are more fighting the language than it helping you. I'm really comparing to C++ rather than C (where of course anything is possible, as long as you DIY).
- School-Cotton 3y agoYes, data structures with cyclic references are a bit harder to write in Rust than in C or C++. But it’s not impossible. And IMO, you write those so rarely that it really doesn’t matter.