Hacker News new | ask | show | jobs
by xphx 1627 days ago
Maybe I misunderstand, but didn't JSLinux[1][2] do system emulation running a proper kernel basically since 2012?

1: http://jslinux.org/

2: https://bellard.org/jslinux/tech.html

1 comments

For sure, it's amazing to get a full kernel running; there's so much one could do. But an emulator and a full kernel is going to have a sizable footprint, be a significant amount to download, and performance is going to be mediocre. Yes there's a linux kernel running, but it's inside a virtualization layer; if you want to integrate & have the page interact with the kernel, you'd need to start hacking some pretty wild channels to punch through that virtualization layer.

Writing an operating system that directly targets the browser, that offers the expected/standard system calls ought to be smaller and faster, and more interestingly, it can potentially integrate with the rest of the page in interesting fashions, easily.

I did underappreciate this, thank you!