Archive for the ‘embedded’ Category

I wrote this several years ago (maybe in 2002?), and recently stumbled across it again. I’m adding it here, so that I have a convenient place to point, when I am asked questions. Gyroc 1 was the first actively stabilised model rocket developed and flown in the UK (to our knowledge). Using a custom gyroscope [...]


Many people have heard of how to swap two values without using temporary storage, using XORs. This is often summarised as: a ^= b ^= a ^= b; There are other operators that can be used to do the swap, but in the degenerate case, this essentially becomes the XOR trick again.


Spin Buffers

02Aug07

There has been a flurry of discussion recently over the buffering technique known as Spin Buffers. Much of this has centred on the author’s claim that they eliminate the need for synchronization. This has been met with scepticism by some, and discussed in more detail by MenTaLguY. This article lists the key assumptions made by [...]



Follow

Get every new post delivered to your Inbox.