Wednesday, 6 June 2018

The Lisp/Java challenge: optimization

The F# Journal just published an article:
"The previous article in this two-part series described a challenge that was posed on the internet around a decade ago and walked through the design and implementation of a simple solution. This final part of the series described a simple but highly-effective optimization that can be applied to the program to greatly improve its performance..."
If you subscribe to the F# Journal then can read this article here otherwise subscribe to the The F# Journal today to read this article and many more!

Monday, 30 April 2018

The Lisp/Java challenge: first cut

The F# Journal just published an article:
""Lisp as an alternative to Java" was a challenge put out around a decade ago with the intention of comparing the productivity of the Lisp and Java programming language. This article takes a look at the challenge and how it can be solved in F#..."
If you subscribe to the F# Journal then can read this article here otherwise subscribe to the The F# Journal today to read this article and many more!

Friday, 16 February 2018

Nonograms

The F# Journal just published an article:
"Nonograms, also known as Picross or Griddlers, are picture logic puzzles in which cells in a grid must be filled or left blank according to numbers at the side of the grid to reveal a hidden picture. In this puzzle type, the numbers are a form of discrete tomography that measures how many unbroken lines of filled-in squares there are in any given row or column. This article presents a program for solving nonograms..."
If you subscribe to the F# Journal then can read this article here otherwise subscribe to the The F# Journal today to read this article and many more!

Thursday, 4 January 2018

Hash consing

The F# Journal just published an article:
"An important characteristic of immutability is that a program using immutable data is oblivious to any copying and sharing of immutable data. Some concurrent garbage collectors exploit this by copying immutable data when moving it. Another way to leverage this characteristic is "hash consing" which is a technique to increase sharing of equivalent immutable data that can greatly reduce memory consumption and improve performance. This article applies an aggressive form of hash consing to our previous benchmark: computing the symbolic 9th derivative of x^x..."
If you subscribe to the F# Journal then can read this article here otherwise subscribe to the The F# Journal today to read this article and many more!

Tuesday, 2 January 2018

Case study: investigating the characteristics of a legacy code base

The F# Journal just published an article:
"Some production C++ code was built around a data structure that, retrospectively, was highly inefficient. The company had grown to the point where this inefficiency was a real concern for their customers and they wanted the properties investigated and alternative solutions proposed. This article describes the problem, walks through the F# code we wrote to perform the investigation and demonstrates how data structures that were considered intractable in C++ are easily used in F#..."
If you subscribe to the F# Journal then can read this article here otherwise subscribe to the The F# Journal today to read this article and many more!

Saturday, 30 December 2017

Benchmarking F# on .NET Core on a Raspberry Pi

The F# Journal just published an article:
"We recently began to study the memory consumption of different programming language implementations using a program that computes the nth derivative of x^x symbolically using a handful of simple rewrite rules. The languages were all available on a Raspberry Pi but not readily available on Windows so we decided to run our tests on a Raspberry Pi 3. This article describes the F# code, .NET Core setup, execution and performance of the benchmark..."
If you subscribe to the F# Journal then can read this article here otherwise subscribe to the The F# Journal today to read this article and many more!

Monday, 18 December 2017

Domain modelling in F#: trading

The F# Journal just published an article:
"This is the second article in a series that takes a look at the challenge of domain modeling with examples from production F# code. This article looks at the case of a financial exchange where traders can place bids and offers that are automatically matched to create trades..."
If you subscribe to the F# Journal then can read this article here otherwise subscribe to the The F# Journal today to read this article and many more!