4 ms·
"Rust thrusts memory management into the programmer's face." How can anyone possibly think that is necessary or a good idea?
by ilaksh 13y ago
"Rust thrusts memory management into the programmer's face."
How can anyone possibly think that is necessary or a good idea?
- steveklabnik 13y agoIn 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.