Today I am very excited to announce the first release of aya, a brand new eBPF library for the Rust programming language! Aya differs from the existin

Announcing Aya | Confused AI

submited by
Style Pass
2021-06-15 14:00:05

Today I am very excited to announce the first release of aya, a brand new eBPF library for the Rust programming language! Aya differs from the existing eBPF libraries in two important ways:

Aya was built with a focus on developer experience and operability. It does not require a C toolchain to build and doesn't even require kernel headers. Compiling the crate in release mode takes only a few seconds. ⚡️

This is the first release, but the project has been six months in the making and is already packed with features. The release includes:

The API is currently unstable, although I'm not expecting it to change drastically. The current plan is to stabilize the API and add support for more eBPF features, aiming to get close to feature parity with libbpf by the end of the year, and then release 1.0 in January 2022.

The aya crate includes the user-space part of aya, in other words what you use to to load, attach and interact with eBPF programs. If you look at the git repository, you'll also see code to write programs in Rust. This part is still in flux and will be released separately. Meanwhile in case you missed it, the rustc BPF target was finally merged last week, so writing eBPF in Rust just became a whole lot easier.

Leave a Comment