Archive for the ‘Programming’ Category

Is IronErlang (or Erlang.NET) a Good Idea?

Saturday, November 15th, 2008

I am kind of between projects right now so I am wondering what I should do next. I really like functional programming, and in particular languages like Erlang, Haskell and F#. So I started to wonder if I should make an Erlang compiler for the .NET runtime. I like Erlang for ...

Data Parallelism in Functional Programming

Saturday, November 15th, 2008

In this small article I will show you how you can use the power of functional programming to write data structures for parallel processing that scales well on any number of cores. What is one of the primary concerns for programmers right now? Writing high performance code that scales well regardless ...

The Programmers Dilemma

Sunday, November 9th, 2008

So what is all this talking about “automatic testing”? I know my code work so I don’t have to write some “test case” just to verify that; A complete waste of time! Just kidding. No one in their right mind would say that they write bugfree code. One of the tools ...

Using NUnit with F# code

Sunday, June 22nd, 2008

Switching to another programming language is difficult. Especially if you are switching from an imperative one to a functional one. There are a number of reasons why you would think that switching is bad, and when considering F# I dare say that none of those reasons are correct. The ...

Huffman encoding in F#

Sunday, June 22nd, 2008

For a while I have been toying with F# - a strict, functional programming language - primarily to get to know the language. I have written a few utility programs and I am working on the problems defined on the Project Euler site. These mathematical problems are perfect for being ...

Webcast about Erlang by Joe Armstrong

Saturday, June 21st, 2008

I recently discovered this webcast called "Erlang - software for a concurrent world" by Joe Armstrong. It is recorded at a JAOO conference. Yes, I wrote "a"... I can't find any info on which one it is but i strongly suspect it is from either London, Sydney or Brisbane in ...

The future of programming - a brief look at two functional programming languages

Thursday, April 3rd, 2008

I have been a software developer for more than 8 years now, and all this time I have been developing software in imperative languages like C++, Java and C#. During the years I have occasionally had a taste of functional programming in the language Haskell. The interest has never been ...

Mono vs. Microsoft : bout 2

Monday, March 31st, 2008

After posting the previous blog entry on Mono IL code, Marek Safar and Miguel de Icaza from the Mono team noticed that I had made the rather embarassing mistake of compiling the code in debug-mode when compiling with Microsofts compiler. That left me with quite a red face, but now ...

Is Mono.NET generating better IL code than Microsoft.NET?

Tuesday, March 11th, 2008

When working on RemotingLite and MPAPI I came across a couple of oddities, and a single fact that one might expect: Mono''s gmcs.exe compiler generates much less IL code than Microsofts csc.exe. Code compiled with Mono''s compiler runs more efficiently on Microsofts runtime than code generated with Microsofts compiler. Code compiled with Mono''s ...

Distributed MPAPI v. 1.0 final and RemotingLite v.1.2.3 released

Saturday, March 8th, 2008

After weeks of writing, rewriting and testing the code for the Message Passing API (MPAPI) it is finally finished. MPAPI is a framework that enables programmers to write concurrent, parallel and/or distributed software systems - in essence building cluster computers. I started writing it for a couple of reasons: My research into ...