home mail me! RSS (2.0) feed

Archive for .NET

Sealed overridden methods in Mono – faster?

I had a discussion with some friends at Lab49 about the merits of sealed overridden methods in C# (and .NET) and the discussion ended with some comments about it probably not helping with performance at least. The problem is that I do remember having seen that the JIT for .NET creates more efficient code for [...]

Algebraic + abstract = true! (at least in the key of F#)

I earlier wrote about some ideas I had to combine the encapsulation of abstract data types with the swift case analysis plus decomposition of algebraic types. Why not have both worlds? Ok, when looking more into F# – after a few years of trying to stay away from it – I realize that it does [...]

Is your language hot or not?

If one would measure popularity by number of hits on Google, these are the five most popular computer languages: PHP Java C Flash Perl A graph of Google hits, using the query +lang +programming, for some of the most common languages follows. NOTE 1: please inform me if your favorite language is omitted. NOTE 2: [...]

C# 3.0: introducing something almost functional

It is a strong current trend among languages to become more functional. No, not as “actually doing stuff” but in the mathematical sense of the word. I.e., languages more and more treat functions as any other value, and C# is no exception. Before you know it, we might have the expressivity of Lisp anno 1965 [...]

Higher order C#

A few weeks ago, I wrote a simple mini-framework in Java, providing the kind of higher-order functions available to C++ developers. After that, I was asked to hold a short seminar about Higher-Order Functions in a regular OO language by a company Lab49. The languages I chose were Java and C#, which are the languages [...]