|
|
Subscribe / Log in / New account

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.


to post comments

Is BPF just a worse version of WebAssembly?

Posted Apr 17, 2025 4:58 UTC (Thu) by Cyberax (✭ supporter ✭, #52523) [Link]

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.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds