-
Notifications
You must be signed in to change notification settings - Fork 918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BPF? #1015
Comments
I know very little about BPF, apart from that it is fairly limited. It might be able to port TinyGo to it, but there will be limitations. How severe those limitations are mainly depend on whether it is possible to have a heap. TinyGo has many targets (some of which are highly experimental) so if you get it to work on BPF it would be fine to include it as part of this project. |
I see this project: |
I believe gobpf is a very different project. It seems to concern itself mainly with loading, running (and compiling?) BPF programs whereas TinyGo is a compiler that could potentially add support for eBPF as a backend (but running those eBPF programs would be out of scope except for testing). |
Ok, got it. I think my initial intuition that the BPF in-kernel virtual machine is a tiny environment to target, and maybe tinygo could support it as a backend, isn't totally nuts. It would be an interesting experiment. |
I watched the video Netflix talks about Extended BPF: A new software type
where Brendan Gregg mentions that new languages will be designed to target BPF.
It made me wonder if tinygo would be a good candidate to target BPF. I see LLVM can target BPF. The first question is, conceptually, could you see it as part of this project, or would it be better to have a separate project that solely targeted BPF?
The text was updated successfully, but these errors were encountered: