- New York City
- https://pub.gajendra.net/
- Joined on
2025-10-08
Block a user
Rewrite WUtils bagtree.c in Rust
It feels like you almost don't need this at all; you could do everything you need to do with the Bag abstraction by just making it a newtype over a BTreeMap, and then dereferencing the newtype pointer at the FFI boundary. Something like,
memory: replace most of memory.c with Rust mem
I'm merging this into another branch and will open a PR for that to the main repo, under refactor/wutil-rs.
When you went in and updated calls to malloc/free, did you also look at…
memory: replace most of memory.c with Rust mem