内容简介:Rust 1.22.0 已发布,该版本带来了语言、编译器、库和稳定 API 方面的更新,具体如下: Language non_snake_case lint now allows extern no-mangle functions Now accepts underscores in unicode escapes T o...
Rust 1.22.0 已发布,该版本带来了语言、编译器、库和稳定 API 方面的更新,具体如下:
Language
T op= &Tnow works for numeric types. eg.let mut x = 2; x += &8;types that impl
Dropare now allowed inconstandstatictypes
Compiler
rustc now defaults to having 16 codegen units at debug on supported platforms.
rustc will no longer inline in codegen units when compiling for debug This should decrease compile times for debug builds.
Libraries
Allow atomic operations up to 32 bits on
armv5te_unknown_linux_gnueabiOption<T>now implsTryThis allows for using?withOptiontypes.
Stabilized APIs
Cargo
Changed
[root]to[package]inCargo.lockPackages with the old format will continue to work and can be updated withcargo update.
Misc
Stabilised the
compile_failattribute for code fences in doc-comments. This now lets you specify that a given code example will fail to compile.
Compatibility Notes
The minimum Android version that rustc can build for has been bumped to
4.0from2.3Allowing
T op= &Tfor numeric types has broken some type inference cases
下载地址
Rust 是一种系统编程语言。 它有着惊人的运行速度,能够防止段错误,并保证线程安全。
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上所述就是小编给大家介绍的《Rust 1.22.0 发布,Mozilla 开发的系统编程语言》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:- Scala面向对象编程之Trait高级编程技术实践-JVM生态编程语言实战
- 逻辑式编程语言极简实现(使用C#) - 1. 逻辑式编程语言介绍
- 我的“第二”编程语言
- 编程语言特性:函数
- 编程语言的巅峰
- 各种编程语言对比
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
深度学习核心技术与实践
猿辅导研究团队 / 电子工业出版社 / 2018-2 / 119.00元
《深度学习核心技术与实践》主要介绍深度学习的核心算法,以及在计算机视觉、语音识别、自然语言处理中的相关应用。《深度学习核心技术与实践》的作者们都是业界一线的深度学习从业者,所以书中所写内容和业界联系紧密,所涵盖的深度学习相关知识点比较全面。《深度学习核心技术与实践》主要讲解原理,较少贴代码。 《深度学习核心技术与实践》适合深度学习从业人士或者相关研究生作为参考资料,也可以作为入门教程来大致了......一起来看看 《深度学习核心技术与实践》 这本书的介绍吧!