Is there any C tutorials you know that do that so I can try to learn how to do it?
Shameless plug ;)
https://floooh.github.io/2018/06/17/handles-vs-pointers.html
This only covers one aspect though (pools indexed by 'generation-counted-index-handles' to solve temporal memory safety - e.g. a runtime solution for use-after-free).
Shameless plug ;)
https://floooh.github.io/2018/06/17/handles-vs-pointers.html
This only covers one aspect though (pools indexed by 'generation-counted-index-handles' to solve temporal memory safety - e.g. a runtime solution for use-after-free).