A real Linux kernel now boots inside a browser tab via WebAssembly
Unkernel: Real Linux kernel, compiled to WebAssembly
unkernel compiles Linux 7.3.4+ to WebAssembly and runs unmodified riscv64 user space directly in a browser tab. A 10.9 MiB Alpine image boots in milliseconds, with an EXT4 data disk persisted in IndexedDB, a display and input devices, ALSA sound, JIT compilation of hot guest code, and a Wisp-based network stack. Built by Pooya Parsa and sponsored by Vercel, it is open source on GitHub.
unkernel: Linux compiled to WebAssembly, running unmodified riscv64 user space in your browser tab.
- reneberlin
This exciting one was new to me, too until yesterday: https://github.com/fzakaria/tabc
and
https://michidk.github.io/sidebyside/
And today: https://github.com/fzakaria/tabernetes
- red_hare
Huh. This was, more or less, wholly predicted by Gary Bernhardt's 2014 Pycon talk: "The Birth and Death of JavaScript" (which is, if you haven't seen it, hilarious)
https://www.destroyallsoftware.com/talks/the-birth-and-death...
- gregbell
Super fun and impressive project. I really love how fast it all starts up and the wayland compositor performance is crazy.
It got me excited enough to do this too https://news.ycombinator.com/item?id=50675517 (the hard part is all done by unkernel). Code at https://github.com/gregbell/unlab, running at https://unlab.run
- anilgulecha
if @fzakaria // pooya are taking requests - a good usecase would be to enable windows programs in the browser (connect webUSB are we're golden for a long tail of various devices software).
So essentially open browser - drop installer exe, and it saved on the local disk. and next time you open the tab, you continue the program with it's data.
(Last time I made a request, it was vibed in a day!)
- mareimorsy
Education platforms are going to have a field day with this. Every student gets their own Linux environment right in the browser, with virtually zero server infrastructure costs. That's a game changer.
- leonidasrup
JSLinux, starting in 2011
"Run Linux or other Operating Systems in your browser"
- dqh
Had some fun testing the concurrency. Was able to execute 4 concurrent md5sums with the same wall clock duration as a single process. Then tested installing Chromium and trying to run a nested Unkernel within that, which didn't work.
Amazing. What a strange era we are entering.
- kkm
Really cool.
I haven’t quite grasped what’s running in the browser vs on the server?
When doing curl ip-api.com it seems show Zurich / Switzerland as the exit, should it not be showing the ip of the user if it’s running in the browser?