Tuesday, 29 July 2008

F# in a Nutshell

Following in the footsteps of Foundations of F#, Expert F# and F# for Scientists, Amanda Laucher and Ted Neward have announced their intention to write a new book on F#, the first to be published by O'Reilly. The book is called F# in a Nutshell and is a member of O'Reilly's In a Nutshell series.

F# in a Nutshell is scheduled to be published in April 2009.

Saturday, 19 July 2008

Microsoft .NET Framework 3.5 Service Pack 1 Beta

This beta release service pack causes widespread corruption of both the core of the .NET Framework and Visual Studio. Moreover, the built-in uninstaller is completely broken and repairing the corruption is extremely laborious. If you have not already tried this release from Microsoft, we strongly recommend that you avoid it.

If you have ever installed this service pack (even if you ran its uninstaller) and are seeing random crashing and/or exceptions being raised by our software or other WPF-based programs and are running x86 (rather than x64, for which the only solution appears to be reinstalling Windows) please try the following steps to repair your computer:

  1. Download Aaron Stebner's unofficial uninstaller and the .NET installers.
  2. Use the conventional uninstallers to try to remove every version of .NET: 3.5 then 3.0 SP1, then 2.0 SP2 and then 1.1.
  3. Reboot.
  4. Before running anything, run the unofficial uninstaller in an attempt to remove the corrupted files from your system.
  5. Reboot.
  6. Install .NET again.

If this does not fix your machine then we recommend seriously considering a fresh install of the entire OS and all other software: this problem took us about a week of solid work before we had our corrupted machine up and running reliably again.

Mathematica interoperability

The F#.NET Journal just published an article about Mathematica automation:

"The Mathematica integrated technical computing environment from Wolfram Research is an incredibly powerful cross platform development environment, language and enormous standard library specifically designed for technical computing. Mathematica's .NET-Link technology is designed to allow Mathematica programs to interoperate with .NET languages such as C#. This article examines the hugely productive marriage of the F# programming language with Mathematica and demonstrates how Mathematica can be controlled entirely from F# programs, allowing Mathematica's awesome functionality to be tapped from a much higher performance and more scalable language..."

To read this article and more, subscribe to The F#.NET Journal today!

Saturday, 12 July 2008

New F# release

Microsoft just released a minor update to the previous F# distribution. The new F# fixes compatibility issues with the latest .NET 3.5 Service Pack 1 beta.

Monday, 7 July 2008

Interoperating with native code from F#

The F#.NET Journal just published an article about the F# foreign function interface:

"Although the F# programming language offers many improvements over older languages such as unmanaged C, C++ and Fortran the need to interoperate with native code can still arise. The two most important uses for native code interoperability are performance and legacy. This article describes how native code can be invoked from F# programs, including essential design advice for building robust interfaces in this otherwise error-prone task..."

To read this article and more, subscribe to The F#.NET Journal today!