This is the final part of a five-part series of posts on compiling Amiga-specific C code on an (emulated) Amiga A1200. We’ll start with a machine with an empty hard drive, and over the series, build up to compiling an Amiga-specific program which uses the graphics library. Part 1 – Introduction and motivation Part 2… Continue reading Compiling Amiga-Specific C (Part 5 of 5)
Category: Uncategorized
Compiling Amiga-Specific C (Part 4 of 5)
This is part four of a five-part series of posts on compiling Amiga-specific C code on an (emulated) Amiga A1200. We’ll start with a machine with an empty hard drive, and over the series, build up to compiling an Amiga-specific program which uses the graphics library. Part 1 – Introduction and motivation Part 2 –… Continue reading Compiling Amiga-Specific C (Part 4 of 5)
Compiling Amiga-Specific C (Part 3 of 5)
This is part three of a five-part series of posts on compiling Amiga-specific C code on an (emulated) Amiga A1200. We’ll start with a machine with an empty hard drive, and over the series, build up to compiling an Amiga-specific program which use the graphics library. Part 1 – Introduction and motivation Part 2 –… Continue reading Compiling Amiga-Specific C (Part 3 of 5)
Compiling Amiga-Specific C (Part 2 of 5)
This is part two of a five-part series of posts on compiling Amiga-specific C code on an (emulated) Amiga A1200. We’ll start with a machine with an empty hard drive, and over the series, build up to compiling an Amiga-specific program which uses the graphics library. Part 1 – Introduction and motivation Part 2 –… Continue reading Compiling Amiga-Specific C (Part 2 of 5)
Compiling Amiga-Specific C (Part 1 of 5)
This is part one of a five-part series of posts on compiling Amiga-specific C code on an (emulated) Amiga A1200. We’ll start with a machine with an empty hard drive, and over the series, build up to compiling an Amiga-specific program which uses the graphics library. Part 1 – Introduction and motivation (this post) Part… Continue reading Compiling Amiga-Specific C (Part 1 of 5)
Capturing mutable variables is bad
I once got caught out by a really hard to spot bug in C#. I was automatically capturing a variable in a lambda, and that variable was mutable … it was a value defined in a for loop. I’ve created the simplest possible repro to illustrate the problem: (Don’t worry, my actual bug was more… Continue reading Capturing mutable variables is bad