Category “immutability”

8 posts

C# for Systems Programming

By way of the article “A glimpse into a new general purpose programming language under development at Microsoft” from the Lambda the Ultimate weblog, I came across Joe Duffy’s new post on C# for Systems Programming. Microsoft may be developing a native version of C# with additional extensions for systems
Read more » Dec 28, 2013, 7:13PM
.NET , C# , Functional Programming , Immutability

Immutable & Isolated Types Likely in Future C#

Based on several pieces of evidence, immutable and isolated type designators are likely in a future version of C# and the common language runtime (CLR). These features will likely debut on .NET 5.0 in the next major iteration of Visual Studio, Visual Studio 2014. Immutable types in imperative language, US
Read more » Dec 9, 2013, 12:17AM
.NET , C# , Functional Programming , Immutability

Anders On C# 6.0 at BUILD 2013

Anders Hejlsberg and Charles Torre talked about a future version of C#, version 6.0, at Windows Build 2013. (34:30) Visual Studio 2013 is the minor release version in an annual major/minor release cycle. The version of .NET included in VS  2013 is 4.5.1 which is an in-place upgrade of
Read more » Jul 14, 2013, 3:23AM
.NET , C# , Functional Programming , Immutability

Immutable Collections

I have been successfully experimenting with functional programming techniques, most importantly immutable data structures, in a sophisticated user interface application project. Admittedly, I often use imperative algorithms and data structures inside transient operations to reduce memory allocations and GC pressure while generally reserving immutability for the long-living data structures. Imperative
Read more » Oct 30, 2010, 2:52PM
Functional Programming , Immutability

The Awkwardness of Functional Programming

Both Reddit’s main page and programming subreddit includes a popular post “Admitting that functional programming can be awkward.” Each of these subreddits have elicited numerous interesting responses. In it, James Hague recounts how a semi-successful Mac game he wrote called Bumbler is trivial to write in C, but that a
Read more » Nov 11, 2007, 3:23AM
.NET , Functional Programming , Immutability

Immutable Data Structures in C#

In the post on Path Finding using A*, Eric Lippert, programmer in the Visual C# team, writes that immutable data structures are the way of the future in C#. As immutable data structures have been a frequent posting topic of mine, I am really happy about this direction towards immutable data and functional
Read more » Oct 8, 2007, 1:08PM
.NET , C# , Functional Programming , Immutability

Persistent Performance

There are a number of tricks that I discovered for getting performance out of persistent, immutable data structures. I also recently noticed this MSDN post on Persistent data structures. Persistent Arrays and Hashtables Persistent versions of arrays and hashtables do exist with similar constant-time behavior. They won’t be as fast since they
Read more » Aug 22, 2006, 11:10PM
.NET , Functional Programming , Immutability

Big Lists

As part of my goal of programming in a more functional programming style in C#, I have been looking at scalable, immutable representations of lists. Some may feel bothered by the log(n) allocations required for each operation to a persistent data structure. However, an operation can be arbitrarily complex like a
Read more » Aug 14, 2006, 9:12PM
.NET , Functional Programming , Immutability





Net Undocumented is a blog about the internals of .NET including Xamarin implementations. Other topics include managed and web languages (C#, C++, Javascript), computer science theory, software engineering and software entrepreneurship.

Social Media