InfoQ Homepage News Latest F# Breaks Binary Compatibility

Latest F# Breaks Binary Compatibility


Microsoft has included F# in VS 2010 Beta 1 and has released a corresponding CTP update for VS 2008. The latest binaries, version, are not compatible with previous ones, v., meaning all previous code needs to be recompiled.

Microsoft has not only included F# in Visual Studio as promised in 2007 by adding it to VS 2010 Beta 1 with support for .NET 4.0, but it has also created a VS 2008 CTP update for those who don’t want to use a beta but a more stable IDE along with .NET 2.0-3.5.

Don Syme’s detailed release notes mention a binary incompatibility:

F# binaries compiled with this new release are incompatible with binaries from previous releases, so must be recompiled. Binary compatibility for F# is an aim of the RTM release of Visual Studio 2010.

Another significant breaking change is using the lightweight syntax (#light) by default. That makes the code whitespace-significant by default. The MSDN Walkthrough contains examples that do contain illegal whitespaces which need to be removed.

Useful links: Release Notes, InfoQ interview: Don Syme Answering Questions on F#, C#, Haskell and Scala, F# Content on InfoQ, PDC Presentation on F# by Luca Bolognese (beginners), MSDN Walkthrough of F# in Visual Studio 2010, MSDN Visual F# Documentation, MSDN F# Code Gallery.

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p


Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.