Calvin Hsia's WebLog

thoughts from a professional developer

January, 2009

  • Calvin Hsia's WebLog

    Overload Operator new to detect memory leaks

    • 5 Comments
    There are various leak detection methods for memory allocators. A popular one is to tag each allocation with some information about the caller. When there’s a memory leak, you just need to look at that tag info to find the line of code that allocated...
  • Calvin Hsia's WebLog

    Cartoon animation program

    • 16 Comments
    A cartoon can be thought of as a series of drawings. To simulate movement, the drawings can be slightly different from each other. Remember drawing simple cartoons using a pad of paper? Simply flipping through the pages made the drawings come to...
Page 1 of 1 (2 items)