News for hackers. Stuff that matters.
Re:Linus Torvalds on Garbage Collection (2002) by Vlasta on Friday April 22, 2011 @09:59AM (#2474050)
I like him mentioning the programmer's mindset associated with GC being a big danger. Some people consider GC a magic bullet and refuse to think about what's happening under the hood. I do not consider that a good habit.
Re:Linus Torvalds on Garbage Collection (2002) by sausagefeet on Friday April 22, 2011 @10:21AM (#2474120)
Some people consider it free too which is very painful. Like pretending networks don't have latency.
Re:Linus Torvalds on Garbage Collection (2002) by marshray on Friday April 22, 2011 @03:38PM (#2475178)
It seems to be far easier (i.e., possible) to go from a manual-memory-management style of development to an automatic one than the other way around. I've known plenty of Java-CS-degree programmers who just never could get the hang of writing C/C++ code without leaking stuff (and not just memory).
Re:Linus Torvalds on Garbage Collection (2002) by alextingle on Saturday April 23, 2011 @05:40AM (#2476582)
This is a key point that I think lots of GC proponents gloss over. Memory is not the only resource that needs to be managed. Open file handles, sockets, user sessions, whatever... they all need to be managed in much the same way as memory.