开发者

Learning going from version 1 to 2?

开发者 https://www.devze.com 2023-02-07 03:25 出处:网络
I learned D version 1. Version 2 is recommended and someone mentioned there are new interesting language features. What is开发者_如何学Python the best guide going from version 1 to 2. I rather not rer

I learned D version 1. Version 2 is recommended and someone mentioned there are new interesting language features. What is开发者_如何学Python the best guide going from version 1 to 2. I rather not reread everything i know about D, just the new features.


D2 also introduced

  • more compile-time reflection,
  • alias this,
  • template alias parameters,
  • const correctness,
  • globals being TLS vars and the shared type,

Phobos has been turned upside down plus the concept of ranges has been introduced.


This feature list covers many of the difference at a high level.


The concurrency chapter of tpdl is freely available and concerns an area where a lot has changed.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号