4 ms·
Oil is a decently interesting “competitor” in this space. They’ve also acknowledged the dual nature of shell as REPL and programming language. https://www.oils
by travisd 4y ago
Oil is a decently interesting “competitor” in this space. They’ve also acknowledged the dual nature of shell as REPL and programming language.
https://www.oilshell.org/blog/2021/01/why-a-new-shell.html https://www.oilshell.org/blog/2021/01/why-a-new-shell.html
- SomeoneOnTheWeb 4y agoA very hard thing to do though is the requirement of generics. If everything is typed, you may have functions that take an argument and produce another value of the same type for instance. And generics are really, really hard to implement correctly.
- forgotpwd16 4y agoOil is first thing that came to mind reading article. Interestingly the submitted article and the one you linked open in similar way with two bullet points saying shell is made of two things.
- agumonkey 4y agonever understood the drive for oil, seems like a lot of effort in the wrong direction
- H4ZB7 4y agoexactly this.
- Arcuru 4y agoI've looked into Oil a bit, and I think Andy has the right idea for how to go about updating the legacy scripts. I've written a few local scripts in Oil and it's a definite upgrade from Bash. If anyone wants to understand Oil a bit better, I found that the best intro is actually the Github wiki: https://github.com/oilshell/oil/wiki https://github.com/oilshell/oil/wiki
- chasil 4y agoThis is what you need to understand about the POSIX shell: $ rpm -ql dash /bin/dash /usr/share/doc/dash-0.5.10.2 /usr/share/doc/dash-0.5.10.2/COPYING /usr/share/doc/dash-0.5.10.2/ChangeLog /usr/share/man/man1/dash.1.gz $ ll /bin/dash -rwxr-xr-x. 1 root root 113536 Nov 5 2018 /bin/dash Embedded systems are going to give you that much room, and no more.
- H4ZB7 4y agoyou could also have the console on our own machine with 1+GHz that passes code to the embedded box to execute, or one of a million other variations on this theme. but nooo we gotta LARP about how well we support legacy systems which is why are systems are so broken after doing this for 50 years. oh yeah and embedded is dead, it's just high end boxes with ubuntu on them now. and last but not least i hope to god i never have unix on something that actually needs to be embedded for all of performance, stability and security reasons.