Rust 1.23.0 发布,Mozilla 开发的系统编程语言

栏目: 软件资讯 · 发布时间: 7年前

内容简介:Rust 1.23.0 发布了。Rust 是一门由 Mozilla 开发的专注于安全性,速度和并发性的系统编程语言。 更新内容: 语言: Arbitrary auto traits are now permitted in trait objects. rustc now uses subtyping on ...

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.

完整内容请查看发行说明

下载地址:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


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

查看所有标签

猜你喜欢:

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

.NET框架程序设计

.NET框架程序设计

(美)Jeffrey Richter、(美)Francesco Balena / 李建忠 / 华中科技大学出版社 / 2004-1 / 54.00元

Microsoft.NET框架为简化开发与卫联网无缝连接的应用程序和组件提供了强大的技术支持,如ASP.NET Web窗体、XML Web服务以及Windows窗体。本书的目的在于展示.NET框架中公共语言运行库存的核心内容。全书由两位广受尊敬的开发者/作者完成,并假设读者理解面向对象程序设计的基本概念,如数据抽象、继承和多态。书中内容清楚地解释了CLR的扩展类型系统,CLR如何管理类型的行为,以......一起来看看 《.NET框架程序设计》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

SHA 加密
SHA 加密

SHA 加密工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具