12 ms·
If you don't need Linux, there's also Unikraft[1]. It's great for building tiny operating systems. It was fairly easy to port QuickJS, and having an OS that can
by jansommer 6y ago
If you don't need Linux, there's also Unikraft[1]. It's great for building tiny operating systems. It was fairly easy to port QuickJS, and having an OS that can run untrusted code in QEMU+KVM within 400ms is pretty cool (total time it takes for the OS to boot, run JavaScript and shut down in Linux running in VMWare)
[1] http://www.unikraft.org/ http://www.unikraft.org/
- megous 6y agoLinux kernel can also start similarly quickly, depending on HW.
- mjgs 6y agoThis sounds pretty cool. A lot of the hardware ideas I have only really need a simple NodeJS runtime running. Lots of clear security benefits to this approach. I had a look on their website and did some Googling but didn’t find anything about getting QuickJS working on Unikraft. Do you have any relevant resources you could share?