Applications, Libraries, Code
Software Tools in C++ rewrites the programs in Software Tools in Pascal
Full featured journey planner and sat-nav for cyclists
Implementing gunzip from scratch in Rust
Asteroidsy retro-game for Android phones
Arabica is an XML and HTML processing toolkit, providing SAX2, DOM, XPath, and XSLT implementations, written in Standard C++
A JavaScript streams/ranges library
A cheesy little Eliza knock-off
My code on GitHub
2026
2025
- Pairing on Rust with Andy : Yr golygfa o Hescwm Uchaf, rhif 28 - 26 September
Andy and I write a little bit of Rust
- Learning Rust with Andy : Yr golygfa o Hescwm Uchaf, rhif 27 - 19 September
I've been learning Rust by watching Andy's streams. We talked about it.
- Talk: A Very Small Language Model - 26 August
Building a tiny language model, having fun with software, while being aware that what we build can have consequences
- Software Tools In C++ Epilogue : Yr golygfa o Hescwm Uchaf, rhif 26 - 03 June
Thanks Brian. Thanks Bill. It's been lovely.
- STinC++ - Macro, a macro processor, step three(c) : Yr golygfa o Hescwm Uchaf, rhif 25 - 06 May
Writing a C++ version of the macro processor described in Chapter 8 of Software Tools in Pascal, part five of, it turns out, five. It's time to build arithmetic expression evaluation.
- STinC++ - Macro, a macro processor, step three(b) : Yr golygfa o Hescwm Uchaf, rhif 23 - 09 February
Writing a C++ version of the macro processor described in Chapter 8 of Software Tools in Pascal, part four of a number. After resolving the problem uncovered last time, it's all pretty smooth sailing from here.
- STinC++ - Macro, a macro processor, step three(a) : Yr golygfa o Hescwm Uchaf, rhif 22 - 03 February
Writing a C++ version of the macro processor described in Chapter 8 of Software Tools in Pascal, part three of a number. It was all going great, and then it wasn't, and then it was again.
2024
- STinC++ - Macro, a macro processor, step two : Yr golygfa o Hescwm Uchaf, rhif 20 - 24 December
Writing a C++ version of the macro processor described in Chapter 8 of Software Tools in Pascal, part two of three
- Rillet.js - a JavaScript streams library - 18 November
rillet.js - a lazily evaluated, functional-style, JavaScript library for working with collections.
- STinC++ - Macro, a macro processor, step one : Yr golygfa o Hescwm Uchaf, rhif 17 - 21 October
The end is sight, as I write a C++ version of the macro processor described in Chapter 8 of Software Tools in Pascal
- STinC++ - Format post-script, how do you justify that? : Yr golygfa o Hescwm Uchaf, rhif 15 - 21 August
Text justification - where do we put the spaces? I made a bug, and then I fixed it.
- STinC++ - Format, a typesetter of my own : Yr golygfa o Hescwm Uchaf, rhif 14 - 21 July
format, an nroff-a-like typesetter of my own
- STinC++ - Ed! Ed! Hooray! : Yr golygfa o Hescwm Uchaf, rhif 12 - 13 June
21 months, 1000 lines of code, 270 commits to write a version of ed in C++
2023
2022
- The Forest Road Reader, No 2.74 : Double Swoop - 15 December
Two-player simultaneous Swoop
- The Forest Road Reader, No 2.73 : The Next Twenty Minutes… - 08 November
The less I can do, the better I like it.
- The Forest Road Reader, No 2.72 : STinC++ - edit, another five minute increment - 22 September
Print, another five minutes of implementation
- The Forest Road Reader, No 2.71 : STinC++ - edit, five minute insert - 13 September
Insert, in under five minutes
- The Forest Road Reader, No 2.69 : STinC++ - edit, a barely walking skeleton - 07 September
Barely ambulatory, the merest hint of bone.
- The Forest Road Reader, No 2.68 : STinC++ - Chapter Six Kick Off - 29 August
The world doesn't need another editor, least of all a line oriented one, but I'm going to write one anyway
- The Forest Road Reader, No 2.67 : STinC++ - Chapter Five Wrap Up - 11 January
Search and replacing text patterns
- The Forest Road Reader, No 2.66 : STinC++ - change - 02 January
A small sed-a-like
2021
2020
- The Forest Road Reader, No 2.60 : STinC++ - quick sort, part 2 - 31 December
Rounding out a quick sort implementation
- The Forest Road Reader, No 2.59 : STinC++ - quick sort - 30 December
Flailing towards a quick sort
- The Forest Road Reader, No 2.58 : STinC++ - in-memory text sort - 28 December
In-memory text sort.
- The Forest Road Reader, No 2.56 : STinC++ - Shell sort - 08 November
Shell sort, in stumbling steps
- The Forest Road Reader, No 2.55 : STinC++ - bubble sort - 14 September
Bubble sort, live and in colour.
- The Forest Road Reader, No 2.53 : STinC++ - Chapter Three Wrap Up - 28 August
Six more programs. That last one is a little bit special.
- The Forest Road Reader, No 2.52 : STinC++ - archive update, extract - 24 August
Software Tools in C++. File archiving, part four - Updating contents, extracting files
- The Forest Road Reader, No 2.51 : STinC++ - archive contents, delete, print - 06 August
Software Tools in C++. File archiving, part three - Listing the contents, displaying a file, removing files
- The Forest Road Reader, No 2.50 : STinC++ - archive create - 15 July
Software Tools in C++. File archiving, part two - Creating an archive.
- The Forest Road Reader, No 2.49 : STinC++ - archive - 14 July
Software Tools in C++. File archiving
- Talk: Journey Into Space - 03 July
How I read an article by one of the original signatories of the manifesto for agile software development, and accidentally ended up writing a version of Asteroids for my phone.
- The Forest Road Reader, No 2.48 : STinC++ - makecopy - 05 June
Software Tools in C++. Copying a file
- The Forest Road Reader, No 2.46 : STinC++ - print - 30 April
Software Tools in C++. Paginated printing
- Arabica: April 2020 Release - 25 April
Release eliminates the use of std::auto_ptr
- Arabica: Inching Toward The Future - 17 April
Arabica maintenance - die auto_ptr!
- The Forest Road Reader, No 2.45 : STinC++ - concat - 14 April
Software Tools in C++. Concatenating a set of files
- The Forest Road Reader, No 2.44 : STinC++ - include - 12 April
Software Tools in C++. Simple file inclusion
- The Forest Road Reader, No 2.43 : STinC++ - compare - 05 February
Software Tools in C++. Rough and ready file comparison
2019
- The Forest Road Reader, No 2.40 : STinC++ - Chapter Two Wrap Up - 28 November
Five little programs and one fairly chunky one.
- The Forest Road Reader, No 2.39 : STinC++ - translit - 26 November
Software Tools in C++. swap and squash and delete
- The Forest Road Reader, No 2.37 : STinC++ - echo - 19 November
Software Tools in C++. Echo ... echo ... echo
- The Forest Road Reader, No 2.36 : STinC++ - expand - 12 November
Software Tools in C++. Reembiggening lightly compressed text.
- The Forest Road Reader, No 2.35 : STinC++ - compress - 03 November
Software Tools in C++. Compressing text - ever so slightly
- The Forest Road Reader, No 2.33 : STinC++ - overstrike - 24 October
Software Tools in C++. Bold and underlined characters the old fashioned way
- The Forest Road Reader, No 2.31 : STinC++ - entab - 07 October
Software Tools in C++. Stripping spaces and dropping in tabs instead.
- The Forest Road Reader, No 2.28 : STinC++ - Chapter One Wrap Up - 05 September
A brief look back at writing five tiny programs.
- The Forest Road Reader, No 2.27 : STinC++ - detab - 03 September
Software Tools in C++. Converting tabs to spaces - real programming stuff!
- The Forest Road Reader, No 2.26 : STinC++ - wordcount - 21 August
Software Tools in C++. Characters, lines, and now wordcounts.
- The Forest Road Reader, No 2.25 : STinC++ - linecount - 20 August
Counting lines by counting new-lines
- The Forest Road Reader, No 2.24 : STinC++ - charcount - 15 August
I wrote another tiny program. Well, I say wrote. I just plugged together bits of the standard library.
- The Forest Road Reader, No 2.22 : STinC++ - copy - 09 August
I wrote a tiny program.
- The Forest Road Reader, No 2.21 : Software Tools In C++ - 05 August
Introducing a series reimplementing the programs presented in Software Tools in Pascal.
2018
2017
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005
2004
2003
2002
2001
Google Play and the Google Play logo are trademarks of Google LLC.