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
Tag: F# Concurrency
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
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
F# Tutorial and Talk Today at TechDays, Paris (Late Announcement!)
There is an F# tutorial and an F# talk today at TechDays, Paris, presented jointly with Adam Granicz and Robert Pickering. The tutorial is at 13:30-14:30, Feb 9 and will be a light introduction to F# The talk is at 17:30-18:30, Feb 9, and will include a section from Adam Granicz, the founder of Intellifactory, on WebSharper, the F# framework … Continue reading F# Tutorial and Talk Today at TechDays, Paris (Late Announcement!)
F# Seminar at University of Washington, Seattle, Thursday, Jan 28
I'll be giving a talk at UW in Seattle on Thursday, Jan 28, this week. Hope to see you there! Don Syme (Microsoft Research, Cambridge)Host: Dan GrossmanParallel and Asynchronous Programming with F#CSE 520 ColloquiumThursday, January 28, 20103:30pm, Abstract F# is a succinct and expressive typed functional programming language in the context of a modern, applied … Continue reading F# Seminar at University of Washington, Seattle, Thursday, Jan 28
F# Seminar Tomorrow, Tuesday, 26/1, at Berkeley
I'll be giving a seminar tomorrow, Tuesday, at Berkeley, visitng Benjamin Hindman and Rastislav Bodik. The talk will be from 1:00 pm to 2:00 pm - room 320 in Soda Hall (moved from room 511). All welcome! Title: Parallel and Asynchronous Programming with F# Abstract: F# is a succinct and expressive typed functional programming language … Continue reading F# Seminar Tomorrow, Tuesday, 26/1, at Berkeley
Async and Parallel Design Patterns in F#: Reporting Progress with Events (plus Twitter Sample)
In this post we will look at a common async design pattern I call Reporting Progress With Events. Later in this post we use this design pattern to read a sample stream of tweets from Twitter. This is the second part of a series covering basic techniques in F# async programming. Some of the samples are … Continue reading Async and Parallel Design Patterns in F#: Reporting Progress with Events (plus Twitter Sample)
Async and Parallel Design Patterns in F#: Parallelizing CPU and I/O Computations
F# is both a parallel and a reactive language. By this we mean that running F# programs can have both multiple active evaluations (e.g. .NET threads actively computing F# results), and multiple pending reactions (e.g. callbacks and agents waiting to react to events and messages). One simple way to write parallel and reactive … Continue reading Async and Parallel Design Patterns in F#: Parallelizing CPU and I/O Computations
Updates to the F# JAOO Tutorial Code
In September 2009 I posted the slides and code for the F# tutorial at JAOO 2009. I've now updated this tutorial code for the F# Visual Studio 2010 Beta2 release (with matching CTP release for Visual Studio 2008). We've also added some more content and explanatory comments. For example, we've added the samples of LINQ queries using … Continue reading Updates to the F# JAOO Tutorial Code
Unleash those transistors! General Purpose GPU and x64 Data Parallel Multicore Programming with Accelerator from F#
One of my colleagues at MSR Cambridge, Satnam Singh, has written his very first blog entry, and what a beauty it is! Data parallel multicore programming from F# targeting both CPU and GPU - what joy! Microsoft recently released a preview of the Accelerator V2 GPU and x64 multicore programming system on Microsoft Connect. This system provides a … Continue reading Unleash those transistors! General Purpose GPU and x64 Data Parallel Multicore Programming with Accelerator from F#
A Great Blog Series on Algorithmic Programming in F#
I've just discovered Julien's great blog series on algorithmic programming in F#, a very useful resource. And if that doesn't whet your appetite, he also has a series on food :-) Here are some of his recent posts: Technical analysis indicators in F# This is the first part of a series on technical analysis indicators in … Continue reading A Great Blog Series on Algorithmic Programming in F#
F# in Visual Studio 2010 Beta2 is now available ( plus matching F# CTP Update for VS2008)
The latest release of F# is now out! This is included in Visual Studio 2010 Beta2 , released today for MSDN Subscribers, with the matching release of the F# CTP for Visual Studio 2008, and a compiler ZIP for Mono. The detailed release notes are here. (Note: general download availability of Visual Studio 2010 Beta2 will begin in … Continue reading F# in Visual Studio 2010 Beta2 is now available ( plus matching F# CTP Update for VS2008)
Release Notes for the F# October 2009 release
(These notes apply to the F# October 2009 CTP update and Visual Studio 2010 Beta2) Summary Release F# in Visual Studio2010 Beta2 can build applications for .NET 2.0/3.0/3.5/4.0 and Silverlight 2/3. Updated F# CTP for Visual Studio 2008 F# PowerPack available as part of the CTP Update, and can be used with either … Continue reading Release Notes for the F# October 2009 release
F# Tutorial Code and Slides
[ The attached tutorial code has now been updated for the F# Visual Studio 2010 Beta2 release (with matching CTP update for Visual Studio 2008) ] One of the great pleasures of my job is to go to conferences like JAOO and present on F# and other topics. This year I presented both a tutorial … Continue reading F# Tutorial Code and Slides
F# at JAOO 2009, Aarhus, 4-6 October
I’m excited to be giving a tutorial, a presentation and a panel at JAOO 2009 in Aarhus in early October. I’ve had the good fortune to be involved with JAOO and QCon a few times over the last few years, and am honoured to be presenting in Aarhus, the home of it all. I’ve … Continue reading F# at JAOO 2009, Aarhus, 4-6 October
Detailed Release Notes for the F# May 2009 CTP Update and Visual Studio 2010 Beta1 releases
The main announcement for this release is here. Summary Release F# is integrated into Visual Studio 2010 Beta1 F# in Visual Studio2010 can build applications for .NET 4.0 Beta1 Updated F# CTP for Visual Studio 2008 and .NET 2.0/3.0/3.5 F# PowerPack is a separate download for Visual Studio 2010 F# binaries compiled with this … Continue reading Detailed Release Notes for the F# May 2009 CTP Update and Visual Studio 2010 Beta1 releases
Visual Studio 2010 Beta1 with F# is now available, plus matching F# CTP Update for VS2008
The F# team are thrilled to announce that Visual Studio 2010 Beta1 is now available , including the latest version of F#. Today we are also releasing a matching F# May 2009 CTP for use with Visual Studio 2008 (MSI, ZIP). Further below is a screen shot, more here. If you’re new to F#, consider watching the PDC … Continue reading Visual Studio 2010 Beta1 with F# is now available, plus matching F# CTP Update for VS2008
The Maestro team have a blog!
The Maestro team are a Microsoft incubation group looking at Isolation, Agents and Message Passing on .NET. Niklas, from the team, has been very helpful as a reviewer of F# asynchronous workflows and whenever I'm in Redmond we get together to discuss associated topics. It's great to see the team get a blog, and I'm sure … Continue reading The Maestro team have a blog!
Adding Parallel Extensions to F#, from Matt Podwysocki
Matt has a lovely post showing how to define parallel sequences in F#: In many of my presentations lately, I’ve been using the Parallel Extensions for .NET as part of my heavy computations in F#. By doing so, I’m able to speed up some of my heavier computations by several fold and take full advantage … Continue reading Adding Parallel Extensions to F#, from Matt Podwysocki
F# Programming Contest, by Kean at AutoDesk
Kean over at AutoDesk (think AutoCAD etc.) is running an F# programming contest! I've included his post below: F# programming contest ... So to start 2009 with a bang (or a pop, at least) I'm going to run a programming contest. The basic idea is to generate some cool examples of using functional programming (more specifically … Continue reading F# Programming Contest, by Kean at AutoDesk
F# to ship as part of Visual Studio 2010
Last year, the head of the Microsoft’s Developer Division, S. Somasegar, announced that Microsoft had begun investing in F# as one of Microsoft’s supported languages on the .NET platform. I am now thrilled to announce one result of this investment: F# will ship as part of Visual Studio 2010! Since the September 2008 CTP of … Continue reading F# to ship as part of Visual Studio 2010
“From Parallel F# to Parallel FPGAs”, from Avalda
One of the most intriguing F# announcements recently is "Avalda FPGA Developer". Here's the descripton from Stephen Afande, the brains behind Avalda: The compiler enables folks to compile [a subset of] F# code to an HDL netlist output suitable for running on an FPGA. From Avalda's home page: compile parallel F# scripting code to FPGA netlist … Continue reading “From Parallel F# to Parallel FPGAs”, from Avalda
TrueSkill machine learning samples updated for F# CTP and units of measure
Ralf Herbrich has updated both the TrueSkill in F# and TrueSkill Through Time samples to both work with the new F# September 2008 CTP and to use unit-of-measure with the Gaussian belief distributions. Ralf says: Following the publication of the F# source code for the TrueSkill Through Time paper, we have used the same inference library … Continue reading TrueSkill machine learning samples updated for F# CTP and units of measure
F# Optimization Modeling Language Sample Utilizing Microsoft Solver Foundation
The first version of the F# Optimization Domain Specific Language (ODSL) sample is now available, built with the new Microsoft Solver Foundation. Solver Foundation is a framework of solvers and modeling services enabling planning, risk modeling, and scheduling for .NET developers. It is integrated with the full power of the NETfx 3.5+ platform including LINQ for … Continue reading F# Optimization Modeling Language Sample Utilizing Microsoft Solver Foundation
F# for Scientists now available!
I can't believe I missed posting about this - F# for Scientists is now out! I haven't got my hardcopy just yet, but I read a draft of this book, and was really very impressed. The 3D visualization chapter is stunning in its simplicity and power, the parallel programming techniques presented are simple and powerful, … Continue reading F# for Scientists now available!
High Performance Computing with F# and MPI
Matthew has written a great guide getting going with MPI on .NET, using F#. Here's an excerpt: In my previous post, I looked at some of the options we have for concurrency programming in .NET applications. One of the interesting ones, yet specialized is the Message Passing Interface (MPI). Microsoft made the initiative to get … Continue reading High Performance Computing with F# and MPI
“F# for Numerics” released
Flying Flog Consulting have recently published F# for Numerics. Here's how they describe the library: Our new F# for Numerics library is a suite of numerical methods that leverage functional programming with F#... This library implements numerical methods from a variety of different disciplines in a uniform way ...: Local and global function minimization and … Continue reading “F# for Numerics” released
F# Talks at TechDays in Paris: Slides and Videos
It's taken me a while, but I've finally posted the slides from the two talks I gave at TechDays in Paris Introduction to F# (beginner) F# and Parallel Programming (joint talk with Robert Pickering, slides here - Robert's slides cover web services and using Parallel Extensions from F#) Videos are also available Enjoy! Don
Kean Walmsley on using F# Asynchronous Workflows to simplify concurrent programming in AutoCAD
On Friday Kean Walmsley posted an excellent article on Using F# Asynchronous Workflows to simplify concurrent programming in AutoCAD.I've quoted some it below. There are two things I especially like about this post. First, Kean's code is very clean and some of the best F# app-extension scripting I've seen. Second, Kean took the time to highlight the minor … Continue reading Kean Walmsley on using F# Asynchronous Workflows to simplify concurrent programming in AutoCAD
Greg Neverov: Software Transactional Memory for F#
Greg Neverov (of active patterns fame) has placed an implementation of Software Transactional Memory for F# up on hubFS. Here's the description: I have written a library for using software transactional memory in F#. The library exposes memory transactions as a monad using F#’s new computation expression feature. It can be downloaded here. Software transactional … Continue reading Greg Neverov: Software Transactional Memory for F#
Expert F# now available, really!
The book Expert F# is now available from book sellers! It's been shipping for a while, but there were some early reports of delivery delays so I delayed in announcing it. As regular readers will know, the book is by myself, Adam Granicz and Antonio Cisternino. It offers a single resource to learning the 1.9.3 release of … Continue reading Expert F# now available, really!
Using Parallel Extensions from F#
A couple of weeks ago saw the release of the CTP of the Parallel Extensions to the .NET Framework (download), This is one the major technologies currently under development at Microsoft for parallel and concurrent programming and provides a great mix of core technologies such as the Task Parallel Library (TPL) and highly expressive programmer devices such … Continue reading Using Parallel Extensions from F#

