Lurker News

Comments (139) 24 threads

Earlier comments
smattiso1 reply#
What would it take to get this running on iOS and Android?
seabrookmx#
You'd never be able to run this on iOS. It's far too locked down.

You might be able to add QEMU support to this, and then run it on an Android device if you have root. But it would perform terribly because mobile chips generally don't have virtualization extensions and ARM as a virtualization host is a pretty immature platform.
TL;DR - far too much to be practical.

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.
tracker12 replies#
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?

Continue this thread — 2 replies

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.

idlewords3 replies#
Stuff used to boot off of a floppy disk!
shereadsthenews1 reply#
Used to have self-replicating persistent malware hidden inside filed that fit on floppy disks.
yjftsjthsd-h1 reply#
And now we have compromised NPM packages and Dockerhub accounts. What's your point?
shereadsthenews#
My point is people used to be able to program computers and now it's all embedded browsers all the way down which is why the recommended way to install ubuntu from macos involves downloading and running (as root!) a 330MB electron app.
yjftsjthsd-h#
Pretty sure you still can, if you throw out all the drivers and libraries we've invented since then. Like, we waste lots of space, but a lot of it really is going to useful features.
quickthrower2#
And it took ages. What’s your point?
nerd7473#
A neat idea

All comments shown.