September 2007 Blog Posts

Chestnuts

Took advantage of the nice weather and went for a long cycle today, we came across quite a few chestnut trees and could help taking advantage of this free food. I think we got over 3 KG in the end   Saw plenty of people out mushrooming, would have liked to have gathered some of those too, but I don’t know enough about it so would have probably ended picking the poisonous ones.

Concurrency in F# – Part I – The Asynchronous Workflow

So I was going to start this series with an over of concurrency options on the .NET framework, but after playing F# asynchronous workflows, I decided to blog about them as they just too exciting to keep quiet about. Maybe I’ll spin back at the end of the series and do a summary of other options at the end of the series. This post will look at how to use concurrent workflows; it will not look into the mechanics of workflows themselves, which are explained in this nice blog post from Don Syme. First we’ll walk though what you need to do...

F# @ TechEd Barcelona November 2007

There will be two F# presentations at TechEd Europe this year, one by Don Syme on concurrent programming in F#. See the full abstract below for more details Parallel and Asynchronous Functional Programming on .NET with F#    Functional programming a hot topic: there is a growing awareness of functional techniques in the developer community, and people are beginning to see that imperative OO programming has deep limitations in a networked and concurrent multi-core world. This session will use the research language F# to explore how declarative and functional techniques are relevant to these new programming challenges. F# includes constructs called asynchronous...

#Develop integration of F# - Alpha Release

[Update 05-09_2007: minor change to both source and binary release to fix F# interactive intergration, if you download a version before this date please redownload] Recently I’ve been working on integrating F# into #Develop. It’s a nice, well designed and developed platform, and despite one or two glitches integration has gone pretty quick. My aim is to get the F# made part of the #Develop distribution, but, rightly so, there are a couple of legal and quality hurdles that need to be reached before it can be integrated into their main release. I’m sure these hurdles will be over come soon,...

Recalculating Values Only When Dependencies Change – Part II – Testing the Frameworks

In part one we build a couple of simple frameworks that allow the programmer to specify that a value should be cached until one of its dependencies changed. I wanted to put these frameworks though their paces in a semi realistic environment. I decided to use the idea of pricing european options, since it’s similar to what we do at LexiFi, rather that work we the LexiFi pricer I took the simplest pricer I could find written in OCaml and adapted it to F# (this was hardly any work at all). I did this as I simply wanted the price...