BT

F# Now Supports Silverlight

by Jonathan Allen on Jun 07, 2010 |

Slipped into the Silverlight Tools for Visual Studio release is F# for Silverlight 4. While C# or VB is still recommended for UI design, F# offers some interesting capabilities for the business tier, especially if it is heavy on computations or data processing logic.

The F# also has a PowerPack that brings in functionality that either is not ready or is not appropriate for the core release. This release doesn’t add new functionality but does allow the library to be used from Silverlight 3 and 4.

Features that can be found in the F# PowerPack include:

  • F#’s take on Lex and Yacc, including MSBuild support
  • SI unit of measure
  • Tagged immutable sets and maps
  • Matrix library and supporting math types

The F# PowerPack is available on CodePlex under the Microsoft Public License. In order to make developing pure F# applications easier with Silverlight, DmitryLomov has created a F# Silverlight Application template.

Hello stranger!

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

Get the most out of the InfoQ experience.

Tell us what you think

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

Email me replies to any of my messages in this thread

Aync workflows is another useful feature by Faisal Waris

Silverlight forces all server interactions to be asynchronous.

With F# you can easily orchestrate such interactions via the async {} monad as mini workflows. There is even support for fork/join semantics.

The interesting part is that async code looks almost the same as synchronous code.

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

Email me replies to any of my messages in this thread

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

Email me replies to any of my messages in this thread

1 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2013 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT