Re:Translations of Russ Cox's Thompson NFA C Program to Rust
by burntsushi on Saturday November 04, 2023 @07:07AM
(#38139922)
I mentioned slab/bump allocators in the README. But whether it works with the Ptrlist type punning is unclear to me.
But indices are still safer than raw pointers - vec access does bounds checks. You can make indices typed if you’re worried about mixing them up.