Jan 22, 2007 01:05
I sometimes have weird dreams and remember them. Rarely are they this geeky, however.
I dreamt I was writing some sort of application in Managed Code, probably C#. For some reason it was highly important that this application run on a broken version of the runtime (or VM for java folks). The runtime was broken such that any heap-memory deallocation whatsoever would cause the runtime to crash. So I created all my objects from factory methods which would add the objects to a global-static list (of type object), to ensure that no objects were ever garbage collected.
The dream rapidly degenerated into a nightmare as I kept missing things (strings specifically) and couldn't find them all.
In the harsh light of day, the dream doesn't really make sense (how would the Runtime work at all? What about library calls? What happens at the end of execution? how much memory was I leaking exactly?), but I'm a little surprised how much sense the dream actually made... My typical computer dreams are based on paralysis (I need to do something ASAP but can't focus -- probably because it's a damn dream!).
I think it's because of a conversation Adam and I had earlier on Saturday. I haven't even been programming much at work lately!