A tour of the compiler guided by bitvec
summary
bitvec implements a pointer-to-bit-slice that packs a byte address and a three‑bit offset into a larger slice pointer so it can be transmute‑returned as a reference, claiming practical compatibility with Rust traits. it supports configurable backing element sizes and bit ordering, reimplements std slice/vector/bool APIs, and avoids aliasing UB by performing memory ops through casts to Atomics (or Cell when single threaded). the crate is built and demonstrably works.
AI-written summary · about
chapters (3)
related talks
29mExtending Rust’s notions of sizedness
23mAn Option? Have a slice!
15mNon-binary Rust: Between Safe and Unsafe
23mA Verified Thread-Safe Array in Rust
25mVector Streaming: The Memory Efficient Indexing for Vector Databases
25mIntro and Overview to Rust
30mFloating Point Hashing
48mBack to Basics: Cpp Value Semantics
