[llvm-dev] Using BPF outside the Linux kernel

Josh Stone via llvm-dev llvm-dev at lists.llvm.org
Wed Nov 14 11:42:30 PST 2018


On 11/14/18 8:11 AM, Jack May via llvm-dev wrote:
> I'm working on a project that is looking at using BPF as the underlying
> instruction set for running programs in a protected environment.  We
> have a working prototype but have run into a few issues and missing
> functionality.  It appears these might be due to BPF development being
> focused on usage in the Linux kernel.  Our requirements are broader
> (rodata, shared objects with dynamic linking) and we hope to compile
> multiple languages down to BPF (C/C++, Rust, ...).

Have you considered WASM for this project?  It seems already closer to
what you want, versus trying to force BPF in that direction.


More information about the llvm-dev mailing list