4 ms·
"Types more advanced than Vec<T>" are inevitable. You need them to write safe abstractions for the rest of the kernel to use. Simplicity is a virtue, of course,
by nybble41 5y ago
"Types more advanced than Vec<T>" are inevitable. You need them to write safe abstractions for the rest of the kernel to use. Simplicity is a virtue, of course, but not to the point of limiting Rust to the equivalent of "safe C".
- wheelerof4te 5y agoThere was an opportunity to make Rust more like "safer C". Sadly, it's creators wanted a better C++ instead. Naturally, they have fallen into the same trap C++ did; they failed to make the language easy to read and write by introducing too much complexity.
- nybble41 5y ago> There was an opportunity to make Rust more like "safer C". Sadly, it's creators wanted a better C++ instead. Fortunately for us. Though calling it "better C++" is underselling Rust by quite a bit IMHO.