Is BPF just a worse version of WebAssembly?
Is BPF just a worse version of WebAssembly?
Posted Apr 16, 2025 19:26 UTC (Wed) by npws (subscriber, #168248)In reply to: Is BPF just a worse version of WebAssembly? by Cyberax
Parent article: Taking BPF programs beyond one-million instructions
While the load-time verification certainly has some limitations and your prediction doesn't seem entirely unreasonable, I don't see how various conditions it checks could be checked at runtime without adding overhead to the entire kernel.
Posted Apr 17, 2025 4:58 UTC (Thu)
by Cyberax (✭ supporter ✭, #52523)
[Link]
Is BPF just a worse version of WebAssembly?
Why would it matter for the rest of the kernel? BPF will just need to add runtime checks to its own arrays access, instead of relying on the verifier.