4 ms·
There are middle grounds between unsafe manual memory management and full garbage collection other than atomic reference counting. Region systems (like in Cyclo
by pcwalton 14y ago
There are middle grounds between unsafe manual memory management and full garbage collection other than atomic reference counting. Region systems (like in Cyclone and Rust), for example.
- kevingadd 14y agoYou can also integrate unsafe manual memory management with a full garbage collector in environments like .NET. Use the GC for 99% of your code, manually malloc/free/pin the other 1%.
- bigdubs 14y agoOne of the more elegant ways of handling this, .net does a great job of integrating with unmanaged (COM, i'm looking at you) resources.