F# agents with timeouts

Gordon has a blog post on F# agents with timeouts In my previous post , I showed a code snippet with a very simple F# agent console application. You run the app from the console, and every time you enter a line of text, it generates a new message and posts it to the message…

0

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…

1

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…

0

My Talk at TechEd Europe 2010: A Taste of F# - Today and Future

Recently I gave a talk at TechEd Europe, in Berlin, entitled A Taste of F# – Today and Future, available below as slides + audio. If you don’t get the player below, then here’s the site with the raw WMV files. I was happy with how this talk went. I hope it is a good resource…

5

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…

0

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…

7

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…

2

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…

1

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…

9