ilmanzo / ilmanzo/BinaryCoverage

evaluate a Rust rewrite for the shim

Open
#124 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
9
Forks
6
Avg merge
1h 32m
Merged PRs (30d)
11

Description

Writing the eBPF shim in Rust would give us some benefits:

- smaller runtime overhead for "wrapped" binaries (~5MB for the Go version, 1MB for Rust)
- faster startup
- get rid of some dependencies (LLVM, Clang, bpftool, bpf2go) by using directly Rust to write both the shim and the eBPF code . See https://github.com/aya-rs/aya

Cons:
- ecosystem has less maturity
- steep learning curve

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing Go-based eBPF shim and the Aya project linked in the issue. Compare the proposed Rust approach against the stated runtime overhead, startup speed, and dependency reduction goals, while accounting for ecosystem maturity and the learning curve. Done means documenting whether the rewrite is feasible and deciding whether to pursue it.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, rust
Domain
devtools, operating-systems
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.