Lurker News

Comments (139) 24 threads

Show all comments

Showing thread 22 of 24

IloveHN842 replies#
Why JavaScript instead of something more performant?
oblio1 reply#
What for? It's just glue code, it doesn't actually run the micro-VMs.
mfatica5 replies#
Because I don't want to have to install the massive nodejs runtime just to glue things together.
oblio3 replies#
Then you're going to have a hard time in the post Node.js era. You also probably want to avoid looking at what many popular desktop apps use behind the scenes :)

Continue this thread — 3 replies

pas#
Run this in a docker env then?

docker run -it --entrypoint /bin/sh -v $PWD:/bla -v /run/docker.sock:/run/docker.sock node:12
apk add git docker cdrkit libvirt-daemon qemu-system-x86_64
npm install https://github.com/ottomatica/slim
cd /bla && /node_modules/.bin/slim

teilo#
This is not even remotely a concern for any enterprise that would use this. Fretting over this is like fretting over the gas left in the nozzle when you fill your car.
tracker11 reply#
I'm just curious what you feel about Java, .Net, Python and Ruby? Ruby is a hair smaller, but the others are actually bigger than the NodeJS runtime, with .Net and Java being significantly bigger.

Or, do you only run software hand crafted in assembly?

bdcravens1 reply#
You're painting a false dichotomy. There are lighter-weight options, like Go.

Continue this thread — 1 reply

ricardobeat#
Nothing stops the tool from being published as a single binary in Homebrew using pkg or nexe. That will probably happen once it gets enough traction, it's actually a lot better for maintainers to support a single version of Node.
pjc501 reply#
Normally the language for doing this kind of system building would be .. Bourne shell. Or Perl/Python.
GordonS#
I was actually expecting Bash scripts before I looked at the GitHub repo.

TBH, I think the code would be a lot simpler if it was just Bash.