Michael's Coding Spot

michaelscodingspot.com · Personal blog · on HN since 2018

Michael Shpilt, a .NET developer, writes about C# performance, memory leaks, caching, and choosing a .NET web tech stack.

What HN saysHN commenters cite it for its JSON serializer benchmarks and ORM performance comparisons, using it as a reference when discussing .NET Core library speed.
18HN people shared it
4linked it in comments
20stories submitted
121story points
2 years agolast shared
2018people per year2026

Most-shared posts

  1. 1
    The Battle of C# to JSON Serializers in .NET Core 3
    3 people · 4 points · first shared 2019 · discussion on HN
  2. 2
    You Can Cause Memory Leaks in .Net
    2 people · 4 points · first shared 2019 · discussion on HN
  3. 3
    Where did the Microsoft tech stack disappear?
    1 people · 84 points · first shared 2018 · 144 comments on HN
  4. 4
  5. 5
  6. 6
    Cache Implementations in C# .Net
    1 people · 3 points · first shared 2019 · 1 comments on HN
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
    Reasons for Startups to Choose Asp.net over Node.js
    1 people · 2 points · first shared 2022 · discussion on HN
  12. 12
    13 Things That Keep Us Motivated as Software Developers
    1 people · 1 points · first shared 2019 · discussion on HN
  13. 13
    C# Features: Innovations or Imitations? – Part 1
    1 people · 1 points · first shared 2018 · discussion on HN
  14. 14
    Development slowness in big and legacy applications
    1 people · 1 points · first shared 2023 · discussion on HN
  15. 15

What HN people wrote when they linked it

0xcoffee · 2019-12-06
I would love to here some MSFT people who work on the Net Core teams thoughts about these libraries, because it seems the community has really amazing things to contribute, such as this string builder library. Net Core has seen amazing improvements compared to Framework, yet often still falls behind existing community offerings. e.g. UTF8JSon library: https://michaelscodingspot.com/the-battle-of-c-to-json-serializers-in-… Outperforms the new Net Core json library. HyperLinq: https://medium.com/@antao.almada/netfabric-hyperlinq-zero-allocation-f… Is basically Linq with 0 allocations. What is blocking MS from integrating these approaches into Net Core?
ryanjshaw · 2024-04-01
Modern ORMs are pretty efficient [1]. Some developers use the ORM for the "write model" and native SQL for reads/reports, if you are read-heavy. [1] https://michaelscodingspot.com/npgsql-dapper-efcore-performance/
Kwpolska · 2023-03-21
I Googled “.NET assembly loading”. The second hit is “Understanding How Assemblies Load in C# .NET”, [0], from July 2020, 4 months before the RTM release of the unified .NET 5. While this post mentions .NET Core by name once, this post is completely irrelevant to .NET Core/5+ (which threw out the Global Assembly Cache, assembly redirections, and generally simplified everything). How do you find articles that are actually relevant to the modern .NET and not the Framework? The Java stuff is easy. From the perspective of a Java developer, most of the things you listed (except for ME, EE and JavaBeans) are just “Java”. And they always have been. [0] https://michaelscodingspot.com/assemblies-load-in-dotnet/
Rapzid · 2020-03-08
Decoding JSON is surprisingly intensive. Check out this to see what's going on with it in Dotnet: https://michaelscodingspot.com/the-battle-of-c-to-json-serializers-in-… . Node.js will have that issue and in fact the stdlib JSON encoding/decoding can't even be paused so once you start a processing something you're stuck until it's done. You could, however, write an incremental serializer/deserializer that could spread processing out across many event loop cycles to mitigate. Go, ASP.NET, and others not so much, depending, because the schedulers can pause and resume the tasks(on top of being threaded).

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close