The F# Journal: Low Latency Allocationless Programming on .NET

The latest article from The F# Journal is on a topic I sometimes get asked about when talking to people doing low-latency financial trading systems: Allocationless programming on .NET "An extreme technique used in some latency-critical applications is to completely circumvent the garbage collector by replacing all heap allocations with the use of pre-allocated arrays of … Continue reading The F# Journal: Low Latency Allocationless Programming on .NET

F# London Meetup Tomorrow, May 5: Simon Cousins on Real-time(ish) Market Analysis in F#

Tomorrow is the next F#unctional Londoners Meetup! Simon Cousins will be talking on Real-time(ish) Market Analysis in F#  Thursday, May 5, 2011 at 6:30 PM  The Skills Matter eXchange - 116-120 Goswell Road London Simon Cousins is a software developer actively applying muti-paradigm programming techniques to solve complex problems within enterprise applications. He currently works for … Continue reading F# London Meetup Tomorrow, May 5: Simon Cousins on Real-time(ish) Market Analysis in F#

F#unctional Londoners Meetup Group, next Wednesday, 24th Nov

The next F#unctional Londoners Meetup Group is on next Wednesday, 24th Nov, featuring two great speakers - Tomas Petricek and Phil Trelford. I'll be there, and am looking forward to it. Tomas Petricek: Writing concurrent applications using agents In this talk I will show you how to implement message passing concurrency in F# using agents … Continue reading F#unctional Londoners Meetup Group, next Wednesday, 24th Nov

C# and VB – towards joining F# with asynchronous programming support

I am very pleased to report that a vision of the future of C# and Visual Basic was outlined today where they are moving to join F# in offering what I call language-integrated asynchronous programming support. This was outlined today at PDC10 by Anders Hejlsberg, the designer of C# and Technical Fellow at Microsoft, along with … Continue reading C# and VB – towards joining F# with asynchronous programming support

The F# Asynchronous Programming Model, PADL 2011

[ The draft was updated on 22/10/10 and 8/11/10 ] The F# asynchronous programming model dates to 2007, and was published in product documentation and Expert F#. However, until now we haven't had a submitted, succinct conference-style description of the core idea of the model: language integrated asynchronous programming.  As a result Tomas Petricek, Dmitry Lomov … Continue reading The F# Asynchronous Programming Model, PADL 2011

A variation on Matt Moloney’s Undo/Redo “Memento” pattern

Yesterday Matt Moloney posted a nice implementation of the "Memento" pattern, which implements an undo/redo stack. Significant pieces are The state is held in an agent. This is not 100% needed, but makes for a nice example of using agents in this way. The agent is encapsulated in an object. The object can serve as … Continue reading A variation on Matt Moloney’s Undo/Redo “Memento” pattern

Async and Parallel Design Patterns in F#: Agents

In part 3 of this series, we explore lightweight, reactive agents in F# and look at some typical design patterns associated with these agents, including isolated internal state.  Part 1 describes how F# is a parallel and reactive language with support for light-weight reactions, and gives patterns for parallel CPU asyncs and parallel I/O asyncs.  Part 2 described a pattern for … Continue reading Async and Parallel Design Patterns in F#: Agents