MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linux/comments/1xz9kme/unkernel_a_real_linux_kernel_compiled_to/19stra54oykcj/?context=3
r/linux • u/mariuz • 13d ago
25 comments sorted by
View all comments
5
Why does it say riscv64 when it is supposed to be "compiled to WebAssembly"?
8 u/vip17 12d ago The kernel is wasm, but the userspace is emulated RISC-VOnly user programs are emulated, with a JIT: unmodified riscv64 Linux binaries, so Alpine and Ubuntu packages run as they are. 6 u/deviled-tux 12d ago We should just build the binaries to WASM and make a WASM-native distro 0 u/ldn-ldn 12d ago The kernel should just be rewritten in JavaScript and run directly in V8, skipping all C/Rust/Assembly nonsense.
8
The kernel is wasm, but the userspace is emulated RISC-V
Only user programs are emulated, with a JIT: unmodified riscv64 Linux binaries, so Alpine and Ubuntu packages run as they are.
6 u/deviled-tux 12d ago We should just build the binaries to WASM and make a WASM-native distro 0 u/ldn-ldn 12d ago The kernel should just be rewritten in JavaScript and run directly in V8, skipping all C/Rust/Assembly nonsense.
6
We should just build the binaries to WASM and make a WASM-native distro
0 u/ldn-ldn 12d ago The kernel should just be rewritten in JavaScript and run directly in V8, skipping all C/Rust/Assembly nonsense.
0
The kernel should just be rewritten in JavaScript and run directly in V8, skipping all C/Rust/Assembly nonsense.
View all comments
5
u/Lenticularis19 12d ago
Why does it say riscv64 when it is supposed to be "compiled to WebAssembly"?