Giter Site home page Giter Site logo

Comments (4)

superherointj avatar superherointj commented on July 25, 2024 1

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.

hugosenari avatar hugosenari commented on July 25, 2024

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.

hugosenari avatar hugosenari commented on July 25, 2024

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.

hugosenari avatar hugosenari commented on July 25, 2024

@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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.