Quantcast
Channel: Ben Bowen's Blog
Browsing latest articles
Browse All 22 View Live

P/Invoke Tips

Native Interop,.NET,Performance,C#: Assorted accrued tips on using P/Invoke in C#

View Article



Simulating Multiple Inheritance In C#

OOP / API Design,C#: A longform post describing the need for and implementation of MI in C#

View Article

Three Garbage Examples

.NET,Performance,C#: Three examples and explanations of situations that can create unnecessary garbage in .NET4/C#5

View Article

Fun With __makeref

Performance,C#: Explanation on how to use hidden C# keywords to implement generic pointers and related functions

View Article

Common Multithreading Mistakes in C# - I: Incorrect Granularity

Multithreading,Performance,C#: A higher-level overview of the lock keyword and how it is commonly misused

View Article


Common Multithreading Mistakes in C# - II: Unnecessary Contention

Multithreading,Performance,C#: Exploring the basics of what makes different approaches to parallelism more or less efficient

View Article

Common Multithreading Mistakes in C# - III: Unsafe Assumptions

Multithreading,Performance,C#: An in-depth look at exactly what the CPU and runtime can do to subvert us when we don't write properly thread-safe code

View Article

Common Multithreading Mistakes in C# - IV: Everything Else

Multithreading,Performance,C#: A look at some miscellaneous unexpected gotchas when writing multithreaded code

View Article


Postmortems - Absolutely Wrong

C#: An investigation in to a small bug encountered when creating Escape Lizards

View Article


Postmortems - Clearly Too Slow

Performance,C#: An example of a simple everyday operation that needed micro-optimising in my game engine

View Article

Postmortems - Tale of Two Casts

.NET,C#: A deep-dive in to a rare difference between the way the CLR and C# handle a given cast

View Article

C# 8 Concerns

.NET,C#: Elucidation on some concerns with upcoming new features planned for C# 8

View Article

C# 8 Concerns - A Followup

.NET,C#: Revisiting the C# 8 Concerns post from two months prior

View Article


Two Decades of C#: A Reference - C# 2, 3 and 4

.NET,C#: Summarizing features in C# 2, C# 3 and C# 4.

View Article

Two Decades of C#: A Reference - C# 5 and C# 6

.NET,C#: Summarizing features in C# 5 and C# 6.

View Article


Two Decades of C#: A Reference - C# 7

.NET,C#: Summarizing features in C# 7.

View Article

Two Decades of C#: A Reference - C# 8

.NET,C#: Summarizing features in C# 8.

View Article


Two Decades of C#: A Reference - C# 9

.NET,C#: Summarizing features in C# 9.

View Article

Two Decades of C#: A Reference - C# 10

.NET,C#: Summarizing features in C# 10.

View Article

Complete C# Quick Reference - C# 11

.NET,C#: Summarizing features in C# 11, including an in-depth look at ref fields and scoping rules.

View Article

Complete C# Quick Reference - C# 12

.NET,C#: Summarizing features in C# 12.

View Article

Browsing latest articles
Browse All 22 View Live




Latest Images