TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: C# performance-oriented code challenges

12 pointsby pestkrankerover 7 years ago
I want to challenge myself doing performance enhancements. Any ideas of existing resources?

1 comment

bold_monkeyover 7 years ago
It depends on your goals, if you want a deep understandigyou must learn ho CLR works:<p>This book can be a good start: &gt; <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;CLR-via-4th-Developer-Reference&#x2F;dp&#x2F;0735667454" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;CLR-via-4th-Developer-Reference&#x2F;dp&#x2F;07...</a><p>Anyway, if you have specific needs, the knowledge needed may vary. For LOB applications (IMHO) very often performance issue have to be searched in I&#x2F;O (RDMS &#x2F; WebServices &#x2F; RPC), these times in all depends a lot on query tuning, optimization of data transfer via specific binary protocols etc... so C# internals not come to an help (even if i think that knowing it may be really precious).<p>If you are facing applications with numerical analysis and&#x2F;or greedy algorithm you could give a look at stackalloc&#x2F;unsafe programming. This links is a good start:<p><a href="http:&#x2F;&#x2F;content.atalasoft.com&#x2F;h&#x2F;i&#x2F;58208059-improving-performance-through-stack-allocation-net-memory-management-part-2" rel="nofollow">http:&#x2F;&#x2F;content.atalasoft.com&#x2F;h&#x2F;i&#x2F;58208059-improving-performa...</a><p>Hope this helps :)
评论 #16216016 未加载
评论 #16213431 未加载