发布于 2018-01-05 00:54:12 | 88 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的Rust教程,程序狗速度看过来!

Rust 编程语言

Rust是Mozilla开发的注重安全、性能和并发性的编程语言。创建这个新语言的目的是为了解决一个很顽疾的问题:软件的演进速度大大低于硬件的演进,软件在语言级别上无法真正利用多核计算带来的性能提升。Rust是针对多核体系提出的语言,并且吸收一些其他动态语言的重要特性,比如不需要管理内存,比如不会出现Null指针等等。


Rust 1.23.0 发布了。Rust 是一门由 Mozilla 开发的专注于安全性,速度和并发性的系统编程语言。

更新内容:

语言:

  • Arbitrary auto traits are now permitted in trait objects.

  • rustc now uses subtyping on the left hand side of binary operations. Which should fix some confusing errors in some operations.

编译器:

  • Enabled TrapUnreachable in LLVM which should mitigate the impact of undefined behaviour.

  • rustc now suggests renaming import if names clash.

  • Display errors/warnings correctly when there are zero-width or wide characters.

  • rustc now avoids unnecessary copies of arguments that are simple bindings This should improve memory usage on average by 5-10%.

  • Updated musl used to build musl rustc to 1.1.17

库:

  • Allow a trailing comma in assert_eq/ne macro

  • Implement Hash for raw pointers to unsized types

  • impl From<*mut T> for AtomicPtr<T>

  • impl From<usize/isize> for AtomicUsize/AtomicIsize.

  • Removed the T: Sync requirement for RwLock<T>: Send

  • Removed T: Sized requirement for {<*const T>, <*mut T>}::as_ref and <*mut T>::as_mut

  • Optimized Thread::{park, unpark} implementation

  • Improved SliceExt::binary_search performance.

  • impl FromIterator<()> for ()

  • Copied AsciiExt trait methods to primitive types. Use of AsciiExt is now deprecated.

完整内容请查看发行说明

下载地址:



历史版本 :
Rust 1.23.0 发布,Mozilla 开发的系统编程语言
Rust 1.22.0 发布,Mozilla 开发的系统编程语言
Rust 1.21.0 发布,Mozilla 开发的系统编程语言
Rust 1.19 发布,Mozilla 开发的系统编程语言
Rust 1.18 发布,Mozilla 的编程语言
Rust 1.17 发布,Mozilla 的编程语言
Rust 1.16 发布,Mozilla 的编程语言
Rust 1.15 发布,Mozilla 的编程语言
Rust 语言服务器 Alpha 版本发布
Rust 1.14 发布,Mozilla 的编程语言
Rust 1.13 发布,Mozilla 的编程语言
Rust 1.12 发布,Mozilla 的编程语言
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务