4 ms·
In C, one can build data structures with pointers that would require reference counting and heap allocation in Rust. The performance would also depend on what k
by yobbo 9mo ago
In C, one can build data structures with pointers that would require reference counting and heap allocation in Rust. The performance would also depend on what kind of CPU/features it is compiled for.
Whether one should do it is a different question.
- steveklabnik 9mo agoYou can use unsafe in Rust to write the exact same thing.