Tuesday, 17 February 2009

Low-level optimization tips and tricks: part 2

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

"The F# programming language is a fantastic tool for technical computing because it combines easy interactive high-level programming with excellent performance and multicore capability. This makes it feasible to solve a wide variety of problems without having to drop to low-level languages like C for performance. This article describes garbage collection friendliness, data structure specialization, efficient loops and the use of structs to avoid boxing..."

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

Sunday, 8 February 2009

F# for Scientists source code: chapter 4

The source code from chapter 4 Numerical Analysis of our book F# for Scientists is now available from the book's web page.

This chapter covers number representations, algebraic properties, interpolation, numerically-robust solutions of a quadratic and variance calculation as well as arbitrary- and adaptive-precision numerics.

Wednesday, 4 February 2009

Emergent behaviour: flocking boids

The F#.NET Journal just published an article about artificial life:

"Artificial life became a popular topic in the 1980s. In particular, with the discovery that simple rules defining the behaviour of individuals could give rise to sophisticated behaviour of groups of individuals. This unexpected result was described as "emergent behaviour" and one of the most famous examples was a computer program called "Boids" that used only three simple rules to govern the dynamics of individuals but produced remarkably realistic flocking behaviour of the population as a whole. This article describes an interactive boids simulator with a graphical user interface implemented using Windows Presentation Foundation..."

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