Rewriting the GNU Coreutils in Rust
Rewriting the GNU Coreutils in Rust
Posted Jun 8, 2021 23:41 UTC (Tue) by tux3 (subscriber, #101245)In reply to: Rewriting the GNU Coreutils in Rust by Sesse
Parent article: Rewriting the GNU Coreutils in Rust
Now that languages like Rust are making thread-safety practically the default, it is getting a bit silly to iterate over items with only one core while the other 7 or 15 watch.
Legacy tools are being very innefficient with both, currently. Even git is criminally underthreaded and often blocking on serial I/O.
Though that is slowly being improved, the software has not kept up with the silicon, and that is because the abstractions we had made it too hard.
Hail the new languages and the bloated libraries like Tokio. They compile to megabytes of statically linked copies, but boy is it nice to have a modern and fast runtime underneath instead of all the barely-reentrant-half-the-time and definitely blocking POSIX legacy!
