3 ms·
It is basically implicit manual memory management. You make sure that your ownership is properly accounted for and it will then properly manage the memory they
by spullara 10y ago
It is basically implicit manual memory management. You make sure that your ownership is properly accounted for and it will then properly manage the memory they use. Unlike in GC languages, you pretty much have to understand everything about how your resources are managed, even in the API design phase.
- winstonewert 10y agoIs reference counting not implicit manual memory management as well?
- pcwalton 10y agoNo! Reference counting is dynamic tracking of object lifetimes. If reference counting is implicit manual memory management, then so is tracing GC!
- winstonewert 10y agoManual means "a thing operated or done by hand rather than automatically or electronically, in particular." It is very strange to me that you've decided the manual means: non-dynamic tracking of object lifetimes.