August 2007 Blog Posts

F# MSBuild provider

I recently started working on the F# integration with #Develop. #Develop is a free and open source IDE base that in many respects is very similar to Visual Studio. I actually found getting the basic integration going fairly easy, I have something that allows you to edit text files and build them. But as there’s not yet any colouring or auto-completion there no signification advantage over using that to any other text editor, so I’m not going to release it just yet, but watch this space. However the first step in integrating F# into #Develop was to create an msbuild provider...

Recalculating Values Only When Dependencies Change

I had an interesting exchange of emails with a reader recently. They wanted to be able to execute a function and cache the result and revaluate the function only when one of the values in depends on changes. It’s a common enough problem I guess, but one that’s surprisingly tricky to get right. This is because when you evaluate a function it’s difficult to know what it depends on and therefore difficult to know when the results of the evaluation become dirty. But between we came up with two different approaches to this problem. The first approach was to reuse idea...

Me on Hanselminutes talking about F#

As promisted on yesterdays blog post you can listen to me talking about F# on Hansel Minutes: http://hanselminutes.com/default.aspx?showID=94 You may also want to take a look at this accompanying blog post about what we talked about on the show: http://strangelights.com/blog/archive/2007/08/09/1590.aspx Warning it may contain spoilers :)

Another Quality Radio Item

When I was doing my A-levels way back in 1997 I often used to stay up late to listen to the Mark Radcliff Show in its grave yard shift phase on Radio 1. One catch phrase that does seem to be completely covered in the catch phrase guide is a “Another Quality Radio Item” although in later versions of the show this was shorten to “Quality Item” and used to refer to any feature on the show, I believe its origins came from when Mark and Lard would invite some guest on the show and they would proceed to have...

IronRuby PreAlpha1 Release – A Little Disappointing

When I saw that IronRuby had been released I thought I’d put it through its paces seeing how the language preformed with respect to IronPython and of course F#. Perhaps a little unfair for a number of reasons, firstly this is a pre-alpha release so one can’t really expect much, we need to give it time to mature and two, ruby generally performs slow than python in the “Computer Language Bench Mark Game”,  (http://shootout.alioth.debian.org/) so one wouldn’t really except IronRuby to outperform either IronPython or F#. However I thought what the heck and downloaded the source for the ruby bench...