6 min read
Result Pattern vs Exceptions: Verified RyuJIT Measurements and Contracts
Why exceptions for domain control flow degrade throughput and how struct-based Result<T> in EricksonLopez.Result achieves 0 B allocations in BenchmarkDotNet.
Architecture notes grounded in real EricksonLopez.* source code and verified BenchmarkDotNet RyuJIT measurements—zero fabricated claims.
Why exceptions for domain control flow degrade throughput and how struct-based Result<T> in EricksonLopez.Result achieves 0 B allocations in BenchmarkDotNet.
How vectorizing typed 1D arrays with PostgreSQL UNNEST avoids parameter-limit failures and eliminates dynamic query plan cache bloat in .NET.
Implementing readonly record struct StrongIds and domain primitives with compile-time Dapper and System.Text.Json handlers in EricksonLopez.DomainPrimitives.
Guaranteeing atomic state persistence and idempotent event delivery across asynchronous message brokers with EricksonLopez.Outbox.