Re:WebVM: Server-less x86 virtual machines in the browser
by Klasiaster on Tuesday February 01, 2022 @04:06PM
(#30169262)
So, this is a reimplementation of the Linux ABI and no Linux kernel source is involved, right?
[ Parent
| on HN ]
Re:WebVM: Server-less x86 virtual machines in the browser
by apignotti on Tuesday February 01, 2022 @04:15PM
(#30169406)
That's correct.
Re:WebVM: Server-less x86 virtual machines in the browser
by Klasiaster on Tuesday February 01, 2022 @04:28PM
(#30169583)
Have you tried compiling Linux as User Mode Linux with emscripten? I imagine something like this https://github.com/nabla-containers/nabla-linux would run on wasm, too?
Re:WebVM: Server-less x86 virtual machines in the browser
by apignotti on Tuesday February 01, 2022 @04:34PM
(#30169678)
Well, User Mode Linux would still require an underlying Linux ABI, for example mmap to implement pagination. With sufficient work it might be possible to actually run UM Linux _on top_ of CheerpX / WebVM.
Implementing the Linux ABI ourselves gives us the opportunity of a tighter integration with the Web platform anyway.