Posted on February 17, 2009, 6:00 pm, by Jonathan, under
Technology.
I recently started playing with GCC’s prefetch builtin, which allows the programmer to explicitly tell the processor to load given memory locations in cache. You can optionally inform the compiler of the locality of the data (i.e. how much priority the CPU should give to keep that piece of data around for later use) as [...]
Posted on August 28, 2008, 9:30 am, by Jonathan, under
Technology.
NB: The recent release of the F# CTP breaks much of this code. I will update this page as soon as I get a chance, but please be aware that if you copy the code in as-is, it will not work.
I think the best way to appreciate how efficient F# is, especially for numerical analysis, [...]
Posted on August 26, 2008, 10:16 pm, by Jonathan, under
Technology.
Computer programmers sometimes mistake brevity for elegance, especially when discussing the relative merits of programming languages. Haskel partisans, for example, love to show how one can implement QuickSort in one line of inscrutable gibberish that looks like somebody had an epileptic seizure with the caps lock on. Haskell is a great language, but not because [...]