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

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

内容简介:Rust 1.24.0 发布了。Rust 是一门由 Mozilla 开发的专注于安全性,速度和并发性的系统编程语言。 更新内容: 语言 External sysv64 ffi is now available. eg. extern "sysv64" fn foo () {} 编译器 rustc no...

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

更新内容:

语言

  • External sysv64 ffi 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-gnueabi target.

  • Add aarch64-unknown-openbsd support

  • str::find::<char> now uses memchr. This should lead to a 10x improvement in performance in the majority of cases.

  • OsStr's Debug implementation is now lossless and consistent with Windows.

  • time::{SystemTime, Instant} now implement Hash.

  • impl From<bool> for AtomicBool

  • 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 AsciiExt methods onto char

  • Remove T: Sized requirement on ptr::is_null()

  • impl From<RecvError> for {TryRecvError, RecvTimeoutError}

  • Optimised f32::{min, max} to generate more efficent x86 assembly

  • [u8]::contains now uses memchr which provides a 3x speed improvement

完整内容请查看发布主页

下载地址:https://www.rust-lang.org/install.html


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


以上所述就是小编给大家介绍的《Rust 1.24.0 发布,Mozilla 开发的系统编程语言》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

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

大型网站技术架构演进与性能优化

大型网站技术架构演进与性能优化

许令波 / 电子工业出版社 / 2018-6 / 79

《大型网站技术架构演进与性能优化》从一名亲历者的角度,阐述了一个网站在业务量飞速发展的过程中所遇到的技术转型等各种问题及解决思路。从技术发展上看,网站经历了Web应用系统从分布式、无线多端、中台到国际化的改造;在解决大流量问题的方向上,涉及了从端的优化到管道到服务端甚至到基础环境优化的各个层面。 《大型网站技术架构演进与性能优化》总结的宝贵经验教训可以帮助读者了解当网站遇到类似问题时,应如何......一起来看看 《大型网站技术架构演进与性能优化》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

在线进制转换器
在线进制转换器

各进制数互转换器

SHA 加密
SHA 加密

SHA 加密工具