olin
olin copied to clipboard
Crazy idea: compile busybox to WebAssembly, boot a Linux VM to it
At a high level, olin is effectively a kernel for WebAssembly programs. Why not get BusyBox working in it? We could then have a linux kernel boot to an olin environment.
- [ ] Get syscall compatibility with Newlib
- [ ] Create popen
- [ ] Implement a filesystem (afero and a boltdb implementation for mutable storage?)
- [ ] Build busybox with wasmception and newlib somehow
- [ ] Adapt olin to boot the system (hack gokrazy for this?)
- [ ] Use Adelie's easy-kernel package to get an amd64 linux kernel
- [ ] Create an initramfs with the system booting thing and a few binaries
- [ ] Boot to webassembly
https://bellard.org/jslinux/tech.html
For your awareness.