Exploring the .NET CoreFX (2014-2015)
Exploring the .NET CoreFX (2014-2015)
东风125 发表于2年前
Exploring the .NET CoreFX (2014-2015)
  • 发表于 2年前
  • 阅读 15
  • 收藏 0
  • 点赞 0
  • 评论 0

华为云·免费上云实践>>>   

Exploring the .NET CoreFX (2014-2015)

On November 12, Microsoft announced that it will be releasing the .NET core as open source. The .NET core includes the Core Foundational Libraries (CoreFX), the Common Language Runtime (CoreCLR), and many other tools and libraries. The source code is available at GitHub athttps://github.com/dotnet.

I have cloned the source code of CoreFX and I am reading through them. This blog post series is about interesting or notable things I’ve learned.

  1. Annotate Pure Methods With PureAttribute

  2. Cache ThreadLocal Variables in Locals

  3. Making Methods Debugger-Friendly

  4. The Requires Convenience Class

  5. Keep Indexers Trivial to Allow JIT Optimization

  6. Use IEquatable for Higher Performance Equals()

  7. Reference Versus Structural Equality

  8. NullReferenceException Performance Tricks

  9. Immutable Collections and the Builder Pattern

  10. Performance Tuning Enumeration

  11. Code Contracts

  12. Aggressive Inlining

  13. ImmutableList is an AVL Tree

  14. Inside Immutable Collections

  15. Using Non-Generic Factory Classes to Enable Type Inference

  16. Platform-Specific Builds Using Compile-Time Polymorphism

  17. Videotaped API Review


共有 人打赏支持
粉丝 7
博文 48
码字总数 10160
×
东风125
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
打赏人
留言
* 支付类型
微信扫码支付
打赏金额:
已支付成功
打赏金额: