Monthly Archives: March 2012

Money for nothing and your JITs for free

Usually you write your VM, debug it, then write your JIT, and spend a lot of time debugging that. It’s often really complicated to get the interpreted and jitted versions of the code to behave in the same way. Laurence … Continue reading

Posted in Computers and Internet | Leave a comment

I didn’t mean to cause any disruption

I’ve been following the Mechanical Sympathy blog for some time. It hits the sweet spot of one of my interests in computer science – the use of virtual machines and their interaction with the hardware when running with multiple concurrent … Continue reading

Posted in Computers and Internet | Leave a comment

Sorry, I gave you the wrong result last time

Continuations almost seem magical when you meet them for the first time. We can take a standard program and transform it so that all of the function calls in it are implemented as tail calls. Magically the transformed program takes … Continue reading

Posted in Computers and Internet | Leave a comment

Get to the heart of the matter

There’s a time in every programmer’s life when he wonders if he can write his own kernel. (I’m keen on understanding how the page management facilities of an operating system can be used to implement a write barrier for garbage … Continue reading

Posted in Computers and Internet | Leave a comment

It’s all in the details

Hacker’s Delight by Henry S Warren There are loads of books out there on the subject of algorithms, but there aren’t many that look in detail at algorithms and tricks which use the magic of 2’s complement arithmetic and the … Continue reading

Posted in Computers and Internet | Leave a comment

Never the twain

So the Consumer Preview of Windows 8 has arrived, and it’s starting to answer some of the questions that were left hanging by the //Build developer preview of the platform. In the earlier release, we seemed to be in a … Continue reading

Posted in Computers and Internet | Leave a comment