April 2006 Archives
Installing a new perforce server? Here are some tips that you might want to look into after installation.
C++ is hard people say. Program in some other language. Like Java or C#. When asked, people who champion these languages usually agree that the garbage collecting is godsent and that memory management is a mess in C++. While I'm not disagreeing that sweeping the memory problem under the rug is kind of nice (hey, I do a lot of python programming) I don't understand why memory management should inherently be difficult in C++. There are ways to shoot yourself in the foot, several times with a bazooka. But there are also relief. There are some simple rules that you can follow to minimize your allocation hell. We will discuss some of them here, as well what to do when everything falls down on your head and you wind up with a memory leak. It's a little bit of a jumble, a little bit of an safari as the title suggests :)