设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

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

2018-1-6 00:42| 发布者: joejoe0332| 查看: 241| 评论: 0|原作者: oschina|来自: oschina

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

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.

完整内容请查看发行说明

下载地址:


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部