Category Archives: C++

Comma Abuse

Found this old C++ source file in my scratch directory, apparently from last September. I don’t even remember writing this, but it’s written using my idioms. If I did write it, rest assured it was primarily for amusement purposes (abusement purposes?) only. … Continue reading

Posted in C++ | Leave a comment

Native Client at UWCS lecture

Available for streaming and download, Google Native Client presented at UW’s computer science lecture series. Covers the restrictions on x86 code, new alignment rules, and performance on various benchmarks. 5% overhead, that’s nothing compared to many other sandboxing techniques. Native … Continue reading

Posted in C++, tech talk | Leave a comment

Return-code vs. Exception handling

(Originally authored Feb 2008.  This is a revision of an older post from before I began blogging on the internet at large.  It’s been edited for style, not content) This is one of those “religous wars” in programming language theory; … Continue reading

Posted in C++ | Tagged | 3 Comments

Memoizer, in C++

Part of what I’m trying to do here is record experiments, little bits of code demonstrating software techniques.  This is a revisit of a recent one. As a refresher, memoization is a dynamic programming technique used to optimize the time … Continue reading

Posted in C++ | Leave a comment