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


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

查看所有标签

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

代码之外的功夫

代码之外的功夫

[美] Gregory T. Brown / 李志 / 人民邮电出版社 / 2018-3-1 / 49.00元

本书虽然面向程序员,却不包含代码。在作者看来,90%的程序设计工作都不需要写代码;程序员不只是编程专家,其核心竞争力是利用代码这一工具解决人类社会的常见问题。以此作为出发点,作者精心构思了8个故事,以情景代入的方式邀请读者思考代码之外的关键问题:软件开发工作如何从以技术为中心转为以人为本?透过故事主人公的视角,读者能比较自己与书中角色的差异,发现决策过程的瑕疵,提升解决问题的综合能力。 书中......一起来看看 《代码之外的功夫》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

MD5 加密
MD5 加密

MD5 加密工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试