Comments (4)
The system core should be efficient and use a very lean shell to not negatively affect closure size (of containers specially). busybox
's ash
is mostly free (once busybox already includes it). bash
uses ~12MB in musl. If ash
is used for base core containers size would be around 5MB without any extra effort.
Makes sense to go with a hybrid approach that is efficient at core level and relaxed on a higher level to please users. And optimizations (to ash
) would be opt-in.
from build-modules.
Nushell:
- JSON/YAML/TOML/... support ✔️
- Command call ergonomy ✔️
- Command definition ergonomy ✔️
- Start Speed on par with bash ✔️
- Low resources usage 🤷
- User base ❌ (compared to python)
- Stability ❌ (<v1)
- Easy bootstrapping ❌ (there are static builds, but only for x86_64)
Other advantage of nushell would be to pass structured data between command calls, but I am not sure if it's any advantage since every build step is a derivation. It also has its own notion of direnv, I was thinking explore use with nix shell.
Unrelated/Unsolicited info:
On my daily use, I prefer Fish for repl, but Nushell for shell script
from build-modules.
Execline:
- Start Speed on par with bash ✔️
- Low resources usage ✔️
- Stability ✔️
- Easy bootstrapping ✔️
- User base ❌
- JSON/YAML/TOML/... support ❌
- Command call ergonomy ❌
- Command definition ergonomy ❌
It is supposed to be easy to parsed (I never tried), but its ergonomy hurts for anything more than single command call.
from build-modules.
@lucperkins created an experimental Nushell stdenv
https://discourse.nixos.org/t/nuenv-an-experimental-nushell-environment-for-nix/26797/2
from build-modules.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from build-modules.