Matt Godbolt’s blog

Coding

Archive

June 2008

LCD screen hackery
Some ideas on improving the LCD display on the Weebox.

April 2008

The C library's strcmp routine is badly named
My thoughts on the ill-named strcmp function.

February 2008

Launching a debugger automatically
Automatically launching the debugger for a particular executable.
Things I didn't know about Visual Studio's Debugger
Discussing debugger pseudovariables for accessing GetLastError return values.

December 2007

Strict aliasing in C
It's not OK anymore to cast willy nilly in C++. Well, it never was. But it's less so now.
C++ header dependency tricks
Some tricks for reducing dependencies and hence compile times in C++.

November 2007

Ambiguous function overloading in C++
C++ function overload resolution can be rather inscrutable. I try and make sense of a particular case.
The three way handshake of understanding
IRBasic - object-oriented BASIC
An object-oriented BBC BASIC.
More on BASIC line numbers
More on the BBC BASIC binary line number encoding.
BBC BASIC binary line number format
A further look at BBC BASIC's in-memory format, specifically the line numbers.
BBC BASIC V file format
Exploring the BBC BASIC V file format. It's pretty damned clever.
List comprensions in Perl using map {}
A quick comparison of list processing in Perl and Python
List comprensions in Python
The coolest thing in Python --- list comprehensions.
More things I didn't know about Python
Conditional expressions in Python 2.5
HTML scraping in Python
Discussing a couple of Python libraries designed for parsing real world websites.
Easy Installation with ez_setup
ez_setup: the quick and easy way to install new python libraries.
Python sqlite3 gotchas
A caveat for sqlite3 in Python - if your databases don't fill with data, this might be why.

April 2007

Samba & LDAP

September 2006

IncludeManager released!

February 2006

Godbolt's Second Law

September 2005

ProFactor StyleManager

April 2005

Godbolt's Law

June 2004

Floating point

March 2004

Driving me NATty