BPF target

206 views
Skip to first unread message

David Vennik

unread,
Feb 24, 2022, 12:41:00 PM2/24/22
to golang-nuts
With the Solana project running with the old and perfectly adequate BPF bytecode and execution engines already inside the linux kernel, it seems that this might be a good target to add to Go's existing targets. 

I mean, yes, I am aware of the severe limitations, no loops, etc, but to be able to deploy Solana apps end to end with a Go backed frontend and Go language for the programs... 

I'm not expecting a strong enthusiastic response about the subject, of course, but I think there could be a big bonus for Go adoption if it became an option for this very interesting, very fast blockchain platform.

It does not have to even permit most of the basics, maps, slices, they just simply don't need to be used. It might also go along with efforts  such as tinygo, rather than on the mainline project. 

As I spent a long time developing my skills with Go towards "Layer 1" blockchain systems, including also some time inside a Geth fork, I feel like Go is slipping a little with keeping relevant to this very active area of software development.

twp...@gmail.com

unread,
Feb 26, 2022, 5:49:28 PM2/26/22
to golang-nuts
https://tinygo.org/ might be a more suitable initial project for compiling Go to eBPF. A lot is already in place including an LLVM backend and a simplified Go runtime suitable for small systems.
Reply all
Reply to author
Forward
0 new messages