A shell in Rust could be really cool
A shell in Rust could be really cool
Posted Feb 12, 2025 14:35 UTC (Wed) by koverstreet (subscriber, #4296)Parent article: Rewriting essential Linux packages in Rust
Rust already has really good metaprogramming, the missing point for that sort of thing would be first class environments (from Kernel Scheme; the interesting thing to note here is that compiled languages already implement all the functionality of first class environments in an ad-hoc way as debug info) - and eval.
That would get us a shell with full access to the whole Rust library ecosystem.
And the thing I keep running into in shell programming is they always start as little bits of glue, but then as they grow (particularly in test environments, where I use them the most) the first thing you need is real error handling - and Rust is first in class there.
