DeepRead
Cover of Writing High-Performance .NET Code

Writing High-Performance .NET Code

Ben Watson · 2014

Programming and computer science › C and C++

#11,300 most recommended

About the book

A practical guide to making managed code fast on the .NET Framework and the CLR. It covers how the runtime allocates memory and runs the garbage collector, how the JIT compiles code, and how to measure where time and memory go. It is aimed at developers writing performance-sensitive C# and .NET applications. Performance problems in .NET code are best solved by understanding what the runtime and hardware actually do, then measuring before and after each change rather than guessing. The book argues that much of the cost comes from allocation, boxing, and synchronization, so reducing those costs through deliberate choices of data types, collections, and threading patterns often matters more than micro-tuning individual lines. It presents these techniques as engineering trade-offs to weigh against readability and maintainability.

Written by Claude from what it knows of this book.

What Hacker News says 100% recommend · 0% critical

012201720182019202020212021 peak · 2
This bookAverage book in C and C++

In the commenters’ own words

  • I've been using C# and .NET for about 18 months. Here are some of the books and other materials that I have found helpful. Framework Design Guidelines - how…

    tjalfi · 2017 · in Ask HN: Best C#/.Net resources?

  • Writing High Performance .NET Code ( https://www.writinghighperf.net/ ) has a chapter on this. In C#, time spent collecting depends on the number of…

    TideAd · 2021 · in Go does not need a Java-style GC

What Open Library readers say

No Open Library reader has rated it yet.

  • 1 want to read
  • 0 reading
  • 0 have read

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2014
ISBN
9780990583455
Editions known
4 at Open Library
Open Library
OL19542902W

Application softwareDevelopmentMicrosoft .NET Framework

Explore in the mosaic

Read next: its neighbours on the mosaic

  • Framework design guidelines
    Krzysztof Cwalina · 2000 · recommended by 11 people · similar by subject and what people say about it
  • C# in Depth
    Jon Skeet · 2008 · recommended by 29 people · similar by subject and what people say about it
  • CLR via C#
    Jeffrey Richter · 2010 · recommended by 9 people · similar by subject and what people say about it
  • C# 4.0 in a nutshell
    Joseph Albahari · 2010 · recommended by 7 people · similar by subject and what people say about it
  • Advanced .NET debugging
    Mario Hewardt · 2009 · recommended by 3 people · similar by subject and what people say about it
  • Essential .NET
    Don Box · 2002 · recommended by 3 people · similar by subject and what people say about it
  • Writing solid code
    Steve Maguire · 1993 · recommended by 18 people · similar by subject and what people say about it
  • Code Like a Pro in C#
    Jort Rodenburg · 2021 · recommended by 1 person · similar by subject and what people say about it
  • Debugging applications
    Robbins, John · 2000 · recommended by 4 people · similar by subject and what people say about it
  • Pro C# 2008 and the .NET 3.5 platform
    Andrew W. Troelsen · 2007 · recommended by 2 people · similar by subject and what people say about it
  • High Performance JavaScript
    Nicholas C. Zakas · 2010 · recommended by 14 people · similar by subject and what people say about it
  • Real-world functional programming
    Tomas Petricek · 2009 · recommended by 12 people · similar by subject and what people say about it
  • Code Complete
    Steve McConnell · 1993 · recommended by 393 people · similar by subject and what people say about it
  • High Performance Web Sites
    Steve Souders · 2007 · recommended by 8 people · similar by subject and what people say about it
  • Microsoft .Net for programmers
    Fergal Grimes · 2002 · recommended by 1 person · similar by subject and what people say about it
  • Head first C
    David Griffiths · 2012 · recommended by 5 people · similar by subject and what people say about it
  • Even faster web sites
    Steve Souders · 2009 · recommended by 4 people · similar by subject and what people say about it
  • IOS and macOS Performance Tuning
    Marcel Weiher · 2017 · recommended by 2 people · similar by subject and what people say about it
  • Writing efficient programs
    Jon Louis Bentley · 1982 · recommended by 9 people · similar by subject and what people say about it
  • Understanding Software Dynamics
    Richard Sites · 2021 · recommended by 6 people · similar by subject and what people say about it
  • High Performance Browser Networking
    Ilya Grigorik · 2013 · recommended by 58 people · similar by subject and what people say about it
  • 21st Century C
    Ben Klemens · 2012 · recommended by 42 people · similar by subject and what people say about it
  • Hardcore Visual Basic
    Bruce McKinney · 1995 · recommended by 4 people · similar by subject and what people say about it
  • Effective C++
    Scott Meyers · 1991 · recommended by 112 people · similar by subject and what people say about it