Conversation
Main features since v0.3.0 include:
- Support for eBPF-to-eBPF function calls with automatic stack frame
management, including:
- stack frame context preservation during function calls
- maximum nesting level of 8 function calls
- customizable StackUsageCalculator for stack size optimization
- support in both interpreter and JIT modes
- assembler and disassembler support for eBPF call instructions
- JIT support in no_std mode - users can now manually provide executable
memory areas to use JIT without requiring the standard library.
- Replacing single-byte address representation with Range type for
memory access ranges, to reduce memory overhead for maps storing large
amounts of data; and using the hashbrown crate for better HashMap
performance in no_std mode.
- Reduced dependency on libc, obtained by replacing several calls with
standard library alternatives:
- Replaced rand() with a simple Wyrand implementation
- Replaced libc::memcpy with ptr::copy_nonoverlapping
- Replaced libc memory allocation with std::alloc
Only mprotect() remains as a libc dependency.
- Bumping cargo edition to 2024
- Dependency updates, including:
- replacing the deprecated time v0.2 crate with std::time::Instant,
providing cross-platform monotonic time functionality using only the
standard library
- cranelift
- elf (we were stuck with a very old version because newer versions
had breaking changes; these changes have now been addressed)
- Various fixes and clean-ups
(These notes were mostly generated from the Git history by Claude Code.)
Signed-off-by: Quentin Monnet <qmo@qmon.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Main features since v0.3.0 include:
Support for eBPF-to-eBPF function calls with automatic stack frame management, including:
StackUsageCalculatorfor stack size optimizationJIT support in
no_stdmode - users can now manually provide executable memory areas to use JIT without requiring the standard library.Replacing single-byte address representation with
Rangetype for memory access ranges, to reduce memory overhead for maps storing large amounts of data; and using the hashbrown crate for betterHashMapperformance inno_stdmode.Reduced dependency on libc, obtained by replacing several calls with standard library alternatives:
rand()with a simpleWyrandimplementationlibc::memcpywithptr::copy_nonoverlappingstd::allocOnly
mprotect()remains as a libc dependency.Bumping cargo edition to 2024
Dependency updates, including:
std::time::Instant, providing cross-platform monotonic time functionality using only the standard libraryVarious fixes and clean-ups
(These notes were mostly generated from the Git history by Claude Code.)