Linuxeden 开源社区 --
Rust 1.24.0 发布了。Rust 是一门由 Mozilla 开发的专注于安全性,速度和并发性的系统编程语言。
更新内容:
语言
- External
sysv64ffi is now available. eg.extern "sysv64" fn foo () {}
编译器
- rustc now uses 16 codegen units by default for release builds. For the fastest builds, utilize
codegen-units=1. - Added
armv4t-unknown-linux-gnueabitarget. - Add
aarch64-unknown-openbsdsupport
库
str::find::<char>now uses memchr. This should lead to a 10x improvement in performance in the majority of cases.OsStr‘sDebugimplementation is now lossless and consistent with Windows.time::{SystemTime, Instant}now implementHash.- impl
From<bool>forAtomicBool - impl
From<{CString, &CStr}>for{Arc<CStr>, Rc<CStr>} - impl
From<{OsString, &OsStr}>for{Arc<OsStr>, Rc<OsStr>} - impl
From<{PathBuf, &Path}>for{Arc<Path>, Rc<Path>} - float::from_bits now just uses transmute. This provides some optimisations from LLVM.
- Copied
AsciiExtmethods ontochar - Remove
T: Sizedrequirement onptr::is_null() - impl
From<RecvError>for{TryRecvError, RecvTimeoutError} - Optimised
f32::{min, max}to generate more efficent x86 assembly [u8]::containsnow uses memchr which provides a 3x speed improvement
完整内容请查看 发布主页 。
下载地址:https://www.rust-lang.org/install.html
转自 http://ift.tt/2EvFGj0
The post Rust 1.24.0 发布,Mozilla 开发的系统编程语言 appeared first on Linuxeden开源社区.
http://ift.tt/2F4yr2A
没有评论:
发表评论