Topic
Everything filed under Programming, newest first.
RSS · JSON · All topics
A practical guide to writing C++ that actually uses the machine well—covering language and hardware basics, common pitfalls, and habits that keep hot paths fast without premature micro-optimization theater.
17 min · 3,904 words
Fun with Constrained Programming
Tavis Ormandy explores the RarVM, a simple x86-like virtual machine whose bytecode RAR archives can carry as compression filters, and the fun of writing programs under its tight constraints.
5 min · 1,155 words
Things That Turbo Pascal is Smaller Than
James Hague's 2011 essay notes that the entire Turbo Pascal 3.02 compiler and IDE was just 39,731 bytes, then lists everyday 2011 files that are bigger — from minified jQuery and the Yahoo home page to zlib.h and the OS X touch command.
1 min · 215 words
Yusuke Endoh's Qlobe, a Ruby quine shaped like a rotating globe written for RubyConf: each run prints the program turned 45 degrees, coming full circle after eight executions, and an integer argument sets any rotation angle. Translated from his Japanese mamememo post.
7 min · 1,534 words
Gallery of Processor Cache Effects
Igor Ostrovsky's classic 2010 post uses short C# code samples to illustrate how processor caches shape real program performance: memory access patterns, cache lines, L1 and L2 sizes, instruction-level parallelism, cache associativity, false sharing of cache lines, and hardware quirks that are hard to explain.
12 min · 2,685 words
Some problems of recursive descent parsers
Eli Bendersky revisits the recursive descent parser from his earlier article, examining problems such as handling left-associative binary operators and proposing practical solutions to make the parser correct.
5 min · 1,234 words
Five Memorable Books About Programming
James Hague highlights five less-famous books that shaped his thinking as a programmer, including Michael Abrash's Zen of Assembly Language and Thinking Forth, explaining what each taught him beyond the usual classics.
4 min · 835 words