After watching Greg Youngs presentation on Functional DDD (http://skillsmatter.com/podcast/design-architecture/ddd-functional-programming) I decided to give it a try using F# I have to say I was sort of pleasantly surprised how well the entire concept works with a functional language. This is only a spike on my part so don’t expect too much, but the code shows…More
Programming languages and successful projects
This is just a random reflection on the current status in software dev.The last few years there have been quite a bit of focus on languages rather than technologies, languages like Clojure, Groovy, Scala are making quite a bit of noise now.Just recently I was watching a clip on InfoQ about Clojure based startups and…More
Re-uploaded files
My old file host is down so here are some of the old downloads: Genetic Math Gold Parser SampleMore
Fake Fibers using Async CTP
This is another PoC, building recursive code with continuations using the Async CTP. The code creates a fake fiber, which can be suspended and resumed, thus allowing us to “step” through its actions. This technique could be useful when building an interpreting language where you might want to step through the expressions.More
F# style Mailbox / Agent using C# async CTP
More info on TPL DataFlow can be found here : http://www.microsoft.com/downloads/en/details.aspx?FamilyID=d5b3e1f8-c672-48e8-baf8-94f05b431f5c Here is a (naive) F# style Mailbox / Agent using the C# async CTP : This way, we can spawn thousands of agents w/o allocating threads for each of them. The message loop is executed on the threadpool for each iteration and then suspended…More