37 ms·
Feels like we're heading to a future where half of userspace will recompile itself as BPF and upload itself into kernel space to be executed there
by grandinj 8y ago
Feels like we're heading to a future where half of userspace will recompile itself as BPF and upload itself into kernel space to be executed there
- diegocg 8y agoJokes aside, I wonder how much time will pass until people start writing kernel drivers in BPF
- pas 8y agoXDP is sort of that for the network subsystem. (Though it doesn't allow you to implement drivers, "just" protocols.) Next step could be filesystem stuff, then libvirt drivers, etc. But BPF is no that versatile, but at least it has a stable ABI.
- agumonkey 8y agolet's ask bsd folks who vetted lua
- tedunangst 8y agoWebAssembly.
- nicoburns 8y agoI guess you're getting downvotes because you posted this without explanation, but wasm actually makes a lot of sense for safer kernel extensions, as it allows for sandboxing code running as ring 0.
- tedunangst 8y agoFor instance: https://www.wasmjit.org/blog/nginx-on-wasmjit.html https://www.wasmjit.org/blog/nginx-on-wasmjit.html