|
|
|||
|
||||
OverviewYour C# application works. It passes all the tests, and it's robust. But it's not fast. It's plagued by random stutters, mysterious GC pauses, and latency spikes you can't explain. The ""magic"" of the .NET runtime, once your greatest ally, now feels like a black box that's sabotaging your speed. You're stuck in ""it works"" when you need ""it flies. ""This book is your key to unlocking that black box. C# at Speed is a pragmatic, hands-on guide that demystifies the runtime, the Garbage Collector, and the JIT compiler. It's not about abstract theory; it's about trading ""magic"" for ""mechanical sympathy"" and writing code that is measurably, predictably fast.Inside, you'll move from being a managed code developer to a high-performance engineer. You will learn to: Profile Like a Pro: Master professional tools like BenchmarkDotNet and PerfView to find the real bottlenecks, separating signal from noise. Tame the Garbage Collector: Go beyond the basics to master GC tuning, ArrayPools, and true allocation-free patterns using Span, Memory, and stackalloc. Unleash the JIT Compiler: Discover how inlining, hardware intrinsics (SIMD), and cache-friendly struct designs help the JIT turn your C# into rocket-fast machine code. Design Cache-Friendly Data Structures: Stop fighting your hardware. Learn why a List is a cache-miss disaster and how ""Struct of Arrays"" (SoA) layouts can make your code 100x faster. Master Modern Async: Navigate the hidden allocation traps of async/await state machines and learn when ValueTask is the key to zero-allocation async code. Wield the ""Dark Arts"": Understand when unsafe code and raw pointers are the safest and most responsible choice for achieving predictable, low-latency execution. This book will fundamentally change how you see C#. You'll learn to analyze your code not just for correctness, but for its true cost in CPU cycles, memory allocations, and cache misses. Through real-world case studies, you'll gain the skills to build systems that operate at the very edge of your hardware's capabilities. Stop guessing. Stop fighting the runtime. It's time to take control. It's time to write C# at speed. Full Product DetailsAuthor: Luis C MillerPublisher: Independently Published Imprint: Independently Published Dimensions: Width: 17.00cm , Height: 1.10cm , Length: 24.40cm Weight: 0.331kg ISBN: 9798273465879Pages: 202 Publication Date: 07 November 2025 Audience: General/trade , General Format: Paperback Publisher's Status: Active Availability: Available To Order We have confirmation that this item is in stock with the supplier. It will be ordered in for you and dispatched immediately. Table of ContentsReviewsAuthor InformationTab Content 6Author Website:Countries AvailableAll regions |
||||