Exploring memory allocation and strings
Explains how strings in .NET are objects subject to garbage collection, analyzing their memory allocation and behavior.
Explains how strings in .NET are objects subject to garbage collection, analyzing their memory allocation and behavior.
Explains the 'fixed' keyword in C#, covering its role in unsafe code, how the compiler, JIT, CLR, and GC collaborate, and its use for pinning objects in memory.
A tutorial on creating a basic Web API for an online store using ASP.NET Core, covering project setup, data models, and Entity Framework Core.
Analyzes performance inefficiencies in LINQ queries, including hidden allocations, and offers optimization techniques for C# developers.
A tutorial on building a serverless Web API with Azure Functions to generate vCard QR codes from user-provided contact details.
Explores the new tuple deconstruction feature in C# 7, including syntax and how to deconstruct custom types.
Explains the new tuple syntax and ValueTuple type in C# 7, highlighting performance benefits and named elements over older Tuple classes.
Explains how to use the linker's --wrap flag to mock C standard library functions for unit testing, enabling isolated code testing.
Explains a subtle bug in C# where using 'var' with an async method call without 'await' leads to unexpected behavior, and discusses prevention.
Explores the unique memory layout and performance optimizations of the String type within the .NET Common Language Runtime (CLR).
A technical tutorial explaining the fundamentals of pointers in C programming, covering memory addresses, dereferencing, and data representation.
Explores benchmarking tools and techniques using a Stack Overflow code example, focusing on performance optimization and avoiding allocations.
A curated list of insightful programming blogs covering topics like JVM internals, performance, ML, engineering culture, and computer architecture.
Exploring new C# 7 features like local functions and ref returns in Visual Studio "15" Preview, with setup instructions and examples.
A technical guide presenting an improved Bloom filter implementation in C, focusing on custom hashing and efficient bit-level operations.
A developer explores and contributes to Colorful.Console, a C# library for creating colorful console apps with ASCII art and Figlet fonts.
Explains a subtle async/await issue with CoreDispatcher.RunAsync in UWP and provides a solution using TaskCompletionSource.
Discusses a bug in XAML Compiled Bindings when using null fallback values, with code examples and a warning for developers.
Fixes for a C programming book's OSX Makefile error (Error 64) when using the c99 compiler, offering three solutions.
Explains how to use CancellationTokenSource.CreateLinkedTokenSource in C# to combine multiple cancellation sources for async operations.