joshuago’s programming Bookmarks
06 NOV 2025
Memory-safe implementation of C and C++. Lots of software compiles and runs with Fil-C with zero or minimal changes. All memory safety errors are caught as Fil-C panics.
11 FEB 2012
The core of STXXL is an implementation of the C++ standard template library STL for external memory (out-of-core) computations, i. e., STXXL implements containers and algorithms that can process huge volumes of data that only fit on disks.
10 FEB 2012
The Boehm GC is able to function without any cooperation from the compiler or the runtime environment. In C, the only adjustment one needs to make is to redirect calls to stdlib’s malloc()/free() to equivalent ones supplied by the Boehm GC.
11 JAN 2012
A method to visualize binary files with unknown content to facilitate broad pattern-finding by eye.
24 DEC 2011
The first step is fully admitting that the code you write is riddled with errors. That is a bitter pill to swallow for a lot of people, but without it, most suggestions for change will be viewed with irritation or outright hostility. You have to want criticism of your code.
21 SEP 2011
If you look at the disassembly of functions inside Windows DLLs, you'll find that they begin with the seemingly pointless instruction MOV EDI, EDI. This instruction copies a register to itself and updates no flags; it is completely meaningless. So why is it there? It's a hot-patch point.
21 SEP 2011
The difference between using "self.foo = bar" and "foo = bar" in Objective-C.
20 AUG 2011
Problem is, every last part of the web-application stack will fight you on your quest towards UTF-8 purity. What follows is a playbook to win your pervasive-UTF-8 battle.
12 AUG 2011
Civil liberties are not just an ornament, or a quaint American tradition. Civil liberties make countries rich. It is the people who break rules that are the source of America's wealth and power.
08 AUG 2011
A tutorial on those aspects of floating-point that have a direct impact on designers of computer systems.