3 ms·
In some domains, it is necessary, and in others, it's quite a good idea. Garbage collection is great, but not for everything.
by steveklabnik 13y ago
In some domains, it is necessary, and in others, it's quite a good idea.
Garbage collection is great, but not for everything.
- ilaksh 13y agoWhat domains is it necessary/quite a good idea?
- bjz_ 13y agoFor example: realtime systems, rendering threads, embedded systems that require minimal runtimes. Smaller subroutines on the whole don't really need it, and those small performance gains can add up considerably in an intensive system. GC is mainly useful for things with undetermined lifetimes. Glue code essentially.
- ilaksh 13y agoA rendering thread can stop for ms once a second.