May 2008 Blog Posts

Turning 30

I will be 30 on Friday, I’m to celebrate this I going to say on the small meditation island of Ile de Port Cros. In an effort to break my chronic email addiction I’m not taking a laptop, so don’t expect the second part of Immutability and Concurrency till next week!

Prochaine réunion d’alt.net de Paris - mercredi 4 juin, 20h00 - Le Café des Initiés

La prochain réunion d’alt.net de Paris aura lieu mercredi 4 juin, 20h00 à le « Le Café des Initiés », 3, Place des Deux Ecus, 75001 Paris. Moi, Julien et Symon sera là, et vous ? ---- The next meeting of alt.net Paris will take place on Wednesday 4th June at the “Café des Inities”, 3, Place des Deux Ecus, 75001 Paris. Symon, Julien and I will be there, will you?

Immutability and Concurrency – Part I – Getting to Know Immutable Data Structures

When asking the question how does functional programming help me with concurrent programming? The standard response tends to be functional programming use immutable data structures, read-only data structures can be shared between threads without issues, end of problem. Except it isn’t. Immutable data structures have a different set of problems associated with them when working on concurrent problems. This post will examine what these problems are, and then show that this is just a special case of a more general set of problems when working with immutable data structures. Finally will start taking a look at how we solve some...

Instrumentation of Your F# Applications with Custom Performance Counters

Although the performance counters built into the CLR give you a pretty good handle on what’s going, there’s nothing quite like having your own counters to help you monitor your applications performance. There’s nothing quite like being able to see your own counters alongside the build in ones in perfmon. There are several things that make this a little tricky, first you must install your counter to make it visible to perfmon, then you need to create instances of the counters for the application to use, finally you need to remove your counters when there done with to ensure old...

Reportage : le première alt.net de Paris réunion

La première réunion a très bien passé, nous étions cinq, pas mal pour une réunion organisé en moins qu’une semaine. On s’est vu dans le « frog et rosbif », peut-être pas le meilleur choisi de lieu, normalement j’aime bien cette pub, mais ce soir là ils ont eu un match de foot à la télé et c’était trop bruyant. Donc, on a bu un verre d’hors de la pub et on est allé au « les têtes brûlées » juste à côté qui était plus calme et plus agréable. On a beaucoup discuté NHibernant, qui était très utilise pour moi, parce que je ne...

Ants everywhere! An ant colony simulation in F#

About a week ago Rick Minerich made this blog post about an ant colony simulation in F#. I downloaded the code and played with it, I liked the simulation a lot but wasn’t too keen on the implementation – it used lots of thread and lots of mutable data. So I decided to dig around a tweak a little here and there, but before I knew it I’d rewritten the whole thing using immutable data structures. I also end up breaking the thing and having to mail Rick for help about why it was broken, anyway with a little help...