A shell in Rust could be really cool
A shell in Rust could be really cool
Posted Feb 13, 2025 22:53 UTC (Thu) by himi (subscriber, #340)In reply to: A shell in Rust could be really cool by taladar
Parent article: Rewriting essential Linux packages in Rust
It may have been moderately portable when it really was a quick hack, but even then it was probably only used in exactly one location and probably wasn't very useful anywhere else. The growth pattern that turned it into a monstrosity certainly didn't increase portability - it made it into something with even more detailed ties to the environment it's used in.
Shell /is/ good for quick and dirty hacks that are moderately portable, far better than Python. But quick and dirty hacks tend to keep getting hacked on, and the point of the whole thread here is where you stop hacking on the shell code and rewrite it in something that's a bit more amenable to proper software engineering practises . . .
