Linked by Thom Holwerda on Wed 24th Jun 2009 14:10 UTC, submitted by TuxJournal.net
Window Managers We're all pretty much versed in the worlds of GNOME, KDE, and to a lesser degree, Xfce, and while there are lots of alternatives, none of the smaller ones really seem to gain much traction beyond their fans. An exception is LXDE, a small and resource efficient desktop environment.
Permalink for comment 370180
To read all comments associated with this story, please click here.
RE[6]: Comment by flynn
by FooBarWidget on Thu 25th Jun 2009 08:21 UTC in reply to "RE[5]: Comment by flynn"
FooBarWidget
Member since:
2005-11-11

What exactly is hard in manual memory management? You just need to keep track of every object you create. You delete it when you are done with it. I always allocate the objects I need within classes and in the class' destructor, I delete them if they are not NULL.


You really make it sound easier than it is. It's very easy to forget destroying an object. Sometimes the life time of an object is hard to determine, and if you specified the conditions under which the object must be freed incorrectly then it can very easily lead to memory corruption. Manual memory management is hard for most apps larger than hello world.

Even something like manual reference counting is easy to get wrong. Witness the tons of iPhone developers who came from PHP and must now suddenly write Objective C code. Many of these apps leak memory because these developers don't correctly reference count their objects.

Edited 2009-06-25 08:27 UTC

Reply Parent Bookmark Score: 2