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.

2 Comments »

  1. shhh said,

    January 16, 2008 @ 6:55 am

    What is that library used for?

  2. saven said,

    March 22, 2008 @ 12:34 pm

    that is too conceptual. I would like to see an example of such an API.

RSS feed for comments on this post · TrackBack URI

Leave a Comment