设为首页收藏本站

LUPA开源社区

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

Rust 1.2稳定版发布,Mozilla编程语言

2015-8-9 17:05| 发布者: joejoe0332| 查看: 624| 评论: 0|原作者: oschina|来自: oschina

摘要: Rust 1.2 稳定版发布了,该版本对编译器进行改进,包含两方面主要的性能提升:An across-the-board improvement to real-world compiler performance. Representative crates include hyper (compiles 1.16x faster) ...

Rust 1.2 稳定版发布了,该版本对编译器进行改进,包含两方面主要的性能提升:

  • An across-the-board improvement to real-world compiler performance. Representative crates include hyper (compiles 1.16x faster), html5ever (1.62x faster), regex (1.32x faster) and rust-encoding (1.35x faster). You can explore some of this performance data at Nick Cameron’s preliminary tracking site, using dates 2015-05-15 to 2015-06-25.

  • Parallel codegen is now working, and produces a 33% speedup when bootstrapping on a 4 core machine. Parallel codegen is particularly useful for debug builds, since it prevents some optimizations; but it can also be used with optimizations as an effective-O1flag. It can be activated by passing-C codegen-units=Ntorustc, whereNis the desired number of threads.

Cargo 的性能也得到提升:

  • Builds that do not require any recompilation (“no-op builds”) for large projects are much faster: for Servo, build time went from 5 seconds to 0.5 seconds.

  • Cargo now supports shared target directories that cache dependencies across multiple packages, which results in significant build-time reduction for complex projects.

同时 Rust 1.2 支持 MSVC (Microsoft Visual C) 工具链。在语言方面 Rust 1.2 完成了 dynamically-sized type (DST) 工作。详细介绍请看发行说明

Rust 是 Mozilla 的一个新的编程语言,由web语言的领军人物Brendan Eich(js之父),Dave Herman以及Mozilla公司的Graydon Hoare 合力开发。


酷毙

雷人

鲜花

鸡蛋

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

最新评论

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

返回顶部