内容简介:Rust 1.26 版本发布。Rust 是一门由 Mozilla 开发的专注于安全性,速度和并发性的系统编程语言。主要更新内容如下:语言
Rust 1.26 版本发布。Rust 是一门由 Mozilla 开发的专注于安全性,速度和并发性的系统编程语言。主要更新内容如下:
语言
-
现在 Closures 实现了 Copy and/or Clone
-
Inclusive range 语法,如
for x in 0..=10现可用 -
Stablise
'_. The underscore lifetime can be used anywhere where a lifetime can be elided. -
impl Traitis now stable allowing you to have abstract types in returns or in function parameters. e.g.fn foo() -> impl Iterator<Item=u8>orfn open(path: impl AsRef<Path>). -
Pattern matching will now automatically apply dereferences.
-
128-bit integers in the form of
u128andi128are now stable. -
maincan now returnResult<(), E: Debug>in addition to(). -
A lot of operations are now available in a const context. E.g. You can now index into constant arrays, reference and dereference into constants, and use Tuple struct constructors.
下载地址:
以上所述就是小编给大家介绍的《Rust 1.26 版本发布,系统编程语言》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
ACM国际大学生程序设计竞赛题解
赵端阳//袁鹤 / 电子工业 / 2010-6 / 38.00元
《ACM国际大学生程序设计竞赛题解(1)》可以作为高等院校有关专业的本科和大专学生参加国际大学生程序设计竞赛的辅导教材,或者作为高等院校数据结构、C/C++程序设计或算法设计与分析等相关课程的教学参考书。随着各大专院校参加ACM/ICPC热情的高涨,迫切需要有关介绍ACM国际大学生程序设计竞赛题解的书籍。《ACM国际大学生程序设计竞赛题解(1)》根据浙江大学在线题库的前80题,进行了解答(个别特别......一起来看看 《ACM国际大学生程序设计竞赛题解》 这本书的介绍吧!