D语言/dlang 2.084.0 发布,编译时和运行时增强

栏目: 软件资讯 · 发布时间: 7年前

内容简介:dlang 2.084.0 带来了 21 个主要更改和 100 个修复的 Bugzilla 问题。非常感谢 53 位贡献者的参与完成了 2.084.0 这个大版本。 编译器改进 Aliases can be created directly from a __trait. Added -check switc...

dlang 2.084.0 带来了 21 个主要更改和 100 个修复的 Bugzilla 问题。非常感谢 53 位贡献者的参与完成了 2.084.0 这个大版本。

编译器改进

  1. Aliases can be created directly from a __trait.

  2. Added -check switch to turn on and off each category of runtime checks.

  3. Add -checkaction=D|C|halt compiler switch.

  4. -color and -color=on will now always output colorized console output

  5. The code generated by mixin statements can now be saved with -mixin

  6. Deprecate invalid binary literals

  7. Deprecated extern(Pascal) linkage

  8. The deprecation phase for fully qualified names that bypassed private imports is finished

  9. Templates are now mangled correctly on POSIX

  10. Added __c_wchar_t as a correct mangling type for C's wchar_t

运行时改进

  1. Added core.stdcpp.array.

  2. Add D header file core.sys.darwin.crt_externs for libc/crt_externs.h on Darwin.

  3. Added initialize template argument to object.destroy().

  4. Added core.stdcpp.string_view.

Phobos 标准库改进

  1. Add overload std.random.unpredictableSeed!UIntType

包管理工具 dub 改进

  1. Add Command

  2. dub now supports $DUB variable

  3. Pre/Post run commands added

  4. Shebang without .d extension

  5. Sort JSON

  6. Added experimental feature to improve build cache efficiency


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

编程之美

编程之美

《编程之美》小组 编 / 电子工业出版社 / 2008-3 / 40.00元

这本书收集了约60道算法和程序设计题目,这些题目大部分在近年的笔试、面试中出现过,或者是被微软员工热烈讨论过。作者试图从书中各种有趣的问题出发,引导读者发现问题,分析问题,解决问题,寻找更优的解法。本书的内容分为下面几个部分: (1)游戏之乐:从游戏和其他有趣问题出发,化繁为简,分析总结。 (2)数字之魅:编程的过程实际上就是和数字及字符打交道的过程。这一部分收集了一些好玩的对数字进行......一起来看看 《编程之美》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

html转js在线工具
html转js在线工具

html转js在线工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具