开发者

Learning going from version 1 to 2?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜