[llvm-dev] Using BPF outside the Linux kernel

Jacob Lifshay via llvm-dev llvm-dev at lists.llvm.org
Thu Nov 15 05:24:30 PST 2018


https://github.com/nebulet/nebulet
(Going to be) A microkernel that implements a WebAssembly "usermode" that
runs in Ring 0.

On Wed, Nov 14, 2018, 12:00 Jack May via llvm-dev <llvm-dev at lists.llvm.org
wrote:

> Hi Josh, thanks for the response.
>
> Yes WASM is an alternative path we are considering.  We have similar
> concerns as we do with BPF where most of the WASM focus is targeted toward
> browsers and more full-featured and complex VM environments Stepping off
> that path may lead to similar deficiencies or require pulling in more
> complex dependencies.  Are there non-browser embedded leaning efforts going
> on in the llvm community?
>
> Thanks,
> Jack
>
> On Wed, Nov 14, 2018 at 11:42 AM Josh Stone <jistone at redhat.com> wrote:
>
>> 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.
>>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181115/ae611c90/attachment.html>


More information about the llvm-dev mailing list