Sunday, 20 September 2009

Huffman data compression

The F#.NET Journal just published an article about data compression:

"Data compression algorithms are not only very useful in practice but are also extremely compelling pragmatic examples of programming theory. The popular Huffman data compression algorithm is from the family of entropy encoding compression algorithms. This article walks through the construction of a simple array-based Huffman compressor and decompressor written entirely in F# before converting the functions to handle sequences on-demand in order to provide incremental compression and decompression..."

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

Saturday, 12 September 2009

F# for Technical Computing book now available for preorder

Our new F# for Technical Computing book is nearing completion and is now available for preorder.

This full-color book covers the latest May 2009 CTP version of F# with all of its new features including sequence expressions and asynchronous workflows as well as all of the latest libraries and tools including Windows Presentation Foundation (WPF) for visualization, the Task Parallel Library (TPL) for easy parallelism, LINQ for XML processing, F# for Numerics and F# for Visualization for interactive technical computing. New topics covered include laziness, purely functional data structures, parallel programming, concurrent programming and regular expressions.

Order F# for Technical Computing today and a copy will be sent to you when the book is published (before the end of September).

Friday, 4 September 2009

Traversing networks: the nth-nearest neighbor

The F#.NET Journal just published an article about dynamic programming:

"Graph theory has a great many practical applications ranging from compiler internals to the study of the structural characteristics of materials. This article describes the design and implementation of a program that finds the nth-nearest neighbors of a given vertex in an infinite graph. This problem is of interest in the context of atomic structures..."

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