Quantcast
Channel: Steven Engelhardt
Browsing all 11 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Exploring the .NET CoreFX Part 9: Immutable Collections and the Builder Pattern

This is part 9 of my Exploring the .NET CoreFX Series. Using the builder pattern to allow for easier construction of immutable objects is well-known. The .NET Core’s immutable collections assembly,...

View Article


Image may be NSFW.
Clik here to view.

Exploring the .NET CoreFX Part 10: Performance Tuning Enumeration

This is part 10 of my Exploring the .NET CoreFX Series. The .NET Core’s System.Collections.Immutable.ImmutableArray provides two enumerators. The first has been highly tuned for speed, and the second...

View Article


Image may be NSFW.
Clik here to view.

Exploring the .NET CoreFX Part 11: Code Contracts

This is part 11 of my Exploring the .NET CoreFX Series. In 2008, Microsoft Research published Code Contracts, which provide a language-agnostic way to express coding assumptions in .NET programs. The...

View Article

Image may be NSFW.
Clik here to view.

Exploring the .NET CoreFX Part 12: Aggressive Inlining

This is part 12 of my Exploring the .NET CoreFX Series. In C++, the inline keyword allows a developer to provide a hint to the compiler that a particular method should be inlined. C# has the identical...

View Article

Image may be NSFW.
Clik here to view.

Exploring the .NET CoreFX Part 13: ImmutableList is an AVL Tree

This is part 13 of my Exploring the .NET CoreFX Series. Most implementations of IList, including System.Collections.Generic.List, are dynamic arrays. System.Collections.Immutable.ImmutableList is...

View Article


Image may be NSFW.
Clik here to view.

Exploring the .NET CoreFX Part 14: Inside Immutable Collections

This is part 14 of my Exploring the .NET CoreFX Series. Back in 2013, Immo Landwerth and Andrew Arnott recorded a Going Deep video called Inside Immutable Collections which describes how and why...

View Article

Image may be NSFW.
Clik here to view.

Exploring the .NET CoreFX Part 15: Using Non-Generic Factory Classes to...

This is part 15 of my Exploring the .NET CoreFX Series. While C# supports type inference for generic methods, it does not support type inference for constructors. In other words, while this code works:...

View Article

Image may be NSFW.
Clik here to view.

Exploring the .NET CoreFX Part 16: Platform-Specific Builds Using...

This is part 16 of my Exploring the .NET CoreFX Series. While .NET has historically been limited to Windows machines, Mono notwithstanding, the introduction of the cross-platform .NET Core runtime has...

View Article


Image may be NSFW.
Clik here to view.

Exploring the .NET CoreFX Part 17: Videotaped API Review

This is part 17 of my Exploring the .NET CoreFX Series. Microsoft’s .NET Core team has posted a videotaped API review session where they show how they review API enhancement suggestions. I thought the...

View Article


Image may be NSFW.
Clik here to view.

Threading is a Poor Concurrency Programming Model

Here’s why I try to avoid thread-based programming models for expressing concurrency: The opponents of thread-based systems line up several drawbacks. For Ousterhout, who probably published the most...

View Article

Image may be NSFW.
Clik here to view.

Future (circa 2010) Parallel Programming Models

Joe Duffy regularly posts amazing material which is well ahead of our time, such as his current blog post series about Midori. I’d like to call out this particular assertion made by him way back in...

View Article
Browsing all 11 articles
Browse latest View live