内容简介:Rust 1.26 版本发布。Rust 是一门由 Mozilla 开发的专注于安全性,速度和并发性的系统编程语言。主要更新内容如下: 语言 现在 Closures 实现了 Copy and/or Clone Inclusive range 语法,如 for x in 0..=10 现...
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.
下载地址:
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- Crystal 编程语言正式迈入 1.0 版本
- Rust 1.26 版本发布,系统编程语言
- Elixir 1.4.4 版本发布,函数式编程语言
- Dlang 2.080.0 版本发布,系统级编程语言
- 动态编程语言 Julia 0.7 alpha 版本新增许多语言特性
- Nim 发布 0.19 版本 ,命令式编程语言
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
面向模式的软件体系结构(卷1) (平装)
Frank Buschmann、Regine meunier、Hans Rohnert、Peter Sommerlad、Michael Stal / 贲可荣、郭福亮 / 机械工业出版社 / 2003-1 / 45.0
一起来看看 《面向模式的软件体系结构(卷1) (平装)》 这本书的介绍吧!