Saturday, 28 March 2015

FemtoML with FParsec

The F# Journal just published an article about parsing:
"The parser combinator library FParsec is one of the foremost parsing tools available for the F# programming language and is now easier to use than ever thanks to Microsoft's Nuget package system. This article walks through a tiny term-level interpreter capable of running the Fibonacci function written in a minimal subset of the ML language..."
To read this article and more, subscribe to The F# Journal today!

Friday, 27 March 2015

Analyzing the world's largest Mathematica code base using F#

The F# Journal just published an article about metaprogramming:
"We were once faced with the challenge of pricing up a project to translate the world's largest Mathematica code base into F#. This project had a multitude of unknowns any one of which could end up being a show stopper. In order to price this work properly we had to quantify many different aspects of the Mathematica code base. This article describes the approach we took, using F# to parse the entire Mathematica code base and analyze it in order to determine the complexity of the challenge we faced..."
To read this article and more, subscribe to The F# Journal today!

Monday, 23 March 2015

Streaming aggregated financial data from SQL Server

The F# Journal just published a case study:
"This case study walks through an industrial project that was designed to improve performance and add functionality by providing an indirect service for clients to extract historical financial data. The service is capable of aggregating the data as it is streamed. In particular, our F# solution was co-developed alongside a C# solution that provides the same functionality so we are able to compare code bases and performance results..."
To read this article and more, subscribe to The F# Journal today!

Sunday, 1 February 2015

A WPF-based parallel ray tracer

The F# Journal just published an article about computer graphics:
"This article describes a simple multicore ray tracer written in a very clear style. The ray tracer supports reflections and shadows and uses hierarchical spherical bounding volumes to cull work efficiently in order to render a 1920×1200 image in under one second. WPF is used for visualization..."
To read this article and more, subscribe to The F# Journal today!

Friday, 9 January 2015

Purely functional data structures in practice

The F# Journal just published an article about purely functional data structures:
"Previous articles have covered the specifics of some classic purely functional data structures. This article explains why and when you may or may not want to use a purely functional data structure and when we have found them to be most valuable in practice..." To read this article and more, subscribe to The F# Journal today!

Saturday, 3 January 2015

Fun with power series

The F# Journal just published an article about manipulating and visualizing power series:
"This article was inspired by Doug McIlroy's excellent Power Serious article about processing infinite power series using infinite lazy lists in Haskell. Although Doug's Haskell code is significantly more elegant than our F# in parts, we add the ability to visualize power series as typeset mathematics including some example approximations to well-known constants using our F# for Visualization library..." To read this article and more, subscribe to The F# Journal today!

Porting a commercial compiler from OCaml to F#

The F# Journal just published a case study about the industrial use of F#:
"In 2012, we ported a compiler for a domain specific language used in the insurance industry from OCaml to F#. The resulting software lies at the core of a major piece of insurance software that is used worldwide. This article looks retrospectively at both the technical and non-technical successes and failures of that project and the ramifications for industrial users of F#..." To read this article and more, subscribe to The F# Journal today!