GPU vs CPU – Local Image Generation in C# with TransformersSharp
Benchmarking GPU vs CPU performance for local AI image generation in C# using the TransformersSharp library and Hugging Face models.
Benchmarking GPU vs CPU performance for local AI image generation in C# using the TransformersSharp library and Hugging Face models.
Explains how to disable thread safety checks in Entity Framework for performance, with warnings about risks and proper usage.
Explores the new Extension Members feature in C# 14, comparing it to traditional extension methods with practical code examples.
A guide to the top AI-powered coding tools and extensions available for C# developers using Visual Studio and Visual Studio Code.
Updates to the SimpleStateMachine project, including new configuration methods and adding arbitrary state data to state machine states.
A follow-up analysis of unexpected behavior in C# record types when using the 'with' operator, exploring differing mental models and solutions.
Learn how to use TransformerSharp to run Hugging Face text generation and text-to-image models locally in C# applications.
A guide to using architectural unit tests in C#/.NET to enforce CancellationToken usage and sealed classes in controllers.
Explores a new .NET 10 API for solving the 'marker attribute' problem in source generators, comparing it to existing solutions.
Learn how to use C# to connect to Hugging Face MCP Server and generate AI images through a step-by-step technical tutorial.
Explains why C# List foreach loops don't lower to array-style while loops, focusing on version safety and performance semantics.
Explores the new C# 14 extension members feature in .NET 10 preview, detailing its capabilities and demonstrating implementation in a NuGet package.
A technical guide on designing and implementing a multi-language UI translation system for the SumatraPDF C++ Windows application.
A developer documents how AI agents built a complete shopping cart feature for an e-commerce app, from requirements to code, without manual programming.
A case study analyzing over-engineered C++ code for file format detection, showing how to simplify object-oriented design and remove unnecessary complexity.
A developer shares controversial C++ engineering decisions in the SumatraPDF codebase, focusing on performance, simplicity, and maintainability.
Explores .NET 10's preview feature for running a single C# file directly with 'dotnet run app.cs', eliminating the need for a .csproj project file.
A personal journey from aspiring dancer to Python programmer and eventually a distributed systems researcher, detailing career transitions and technical growth.
Explains how to add descriptive names to data-driven test cases in xUnit by overriding the ToString() method in test data records.
Explains a specific edge case where switch expressions fail in Blazor due to parsing conflicts with HTML/razor syntax.