Skip to content

RichardFawcett.net

Thoughts and musings of a software developer

  • About
  • Twitter
  • Twitch

Month: April 2021

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)

Published 30th April, 2021
Categorized as Uncategorized Tagged amiga

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

Published 24th April, 2021
Categorized as Uncategorized
RichardFawcett.net
Proudly powered by WordPress.