Archive for January, 2008

Memory management

Recently, I am busy to build up a library. I found that the job to define a well friendly library is an art.  🙂

The interface is diffcult, you should think over all the corner cases that users may misuse APIs. And I found that I should refactor the memory management code. If you cannot support a clean memory interface, users are easy to write a wrong program that will crash the whole system.

Comments (3)