Re:.NET Memory Performance Analysis
by manigandham on Wednesday September 09, 2020 @08:13PM
(#24427516)
There's a lot of great people in the .NET ecosystem, but I don't think GC internals are that relevant for most typical .NET devs.
[ Parent
| on HN ]
Typically, you're right - GC internals aren't usually relevant. That is, until you're fire-fighting a GC-related issue in production. GC internals aren't something you want do a crash-course on while your app burns.
I'd call it a good sign if you can even identify GC-related issues in production. That means all of the other problems that seem to plague .NET shops have been taken care of.
It's always a captivating read for me! I find most discussions about the tradeoffs of GC vs reference counting versus manual memory management are loaded with bias.
Re:.NET Memory Performance Analysis
by sbelskie on Wednesday September 09, 2020 @08:24PM
(#24427587)
There’s definitely more there than most .NET devs need to know, but I personally have found learning more about the GC to be incredibly relevant in my day to day work. I would have said the same thing a year ago, now I feel differently, but that is of course heavily inflected by my personal experience.
Similarly you might not expect that reading CLR via C# would make you a better programmer at a high level with things like DI and big frameworks and everything, but it makes you see what you're writing in an entirely different light. A whole other layer below the surface.
Re:.NET Memory Performance Analysis
by sbelskie on Wednesday September 09, 2020 @09:46PM
(#24428088)
I would strongly second that endorsement. I would love a new edition taking the CoreCLR more into account but it’s still more relevant than most any other book I can think of.
There is a version for UWP as well.
Really? What’s it called?
Similarly named, Windows Runtime via C#.
https://www.amazon.com/Windows-Runtime-via-Developer-Referen...