Erik Meijer, Immo Landwerth, and Andrew Arnott: Immutable Collections for .NET

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Erik Meijer interviews .NET team PM Immo Landwerth and Software Developer Andrew Arnott . The topic is http://blogs.msdn.com/b/andrewarnottms/archive/2011/08/30/immutable-collections-with-mutable-performance.aspx" target="_blank Immutable Collections , a new set of immutable types for .NET. You can play around with these today as part of a preview release (NuGet link below). Tune in!

http://channel9.msdn.com/Forums/Coffeehouse/Immutable-collections-for-NET-arrives" target="_blank Niners asked questions in advance and some of them were addressed. Thanks again for asking and sorry we didnt get to all of them, but many of the topics were covered (what, why, how, etc...). Over the last years .NET added many features to make writing multithreaded applications easier. This includes the Task Parallel Library (TPL) as well as the new async/await keywords features to reduce the friction when writing asynchronous code. However, its still challenging to keep mutable state under control when multiple threads are involved. A common approach is to make use of immutable state that can be passed freely between different threads.
- Immo Landwerth The https://nuget.org/packages/Microsoft.Bcl.Immutable" target="_blank NuGet package preview includes these types: ImmutableStack<T> ImmutableQueue<T> ImmutableList<T> ImmutableHashSet<T> ImmutableSortedSet<T> ImmutableDictionary<K, V> ImmutableSortedDictionary<K, V> Interfaces for each of these types are also defined to facilitate exchange of immutable collection types that may be implemented differently to optimize for very specific performance or memory requirements. http://blogs.msdn.com/b/andrewarnottms/" target="_blank See Andrews blog for more detailed information (on immutable types for .NET and more. Lots of great info...). <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Feeds/RSS&WT.dl=0&WT.entryid=Entry:RSSView:eae256851845482e9704a147013c9606

View the full article
 
Back
Top