剑桥大学技术报告 - 《ASAP:静态优先内存管理》
ASAP: As Static As Possible memory managementhttps://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-908.pdf
剑桥大学计算机实验室技术报告,《ASAP:静态优先内存管理》让LLVM再次更快起来
https://nikic.github.io/2020/05/10/Make-LLVM-fast-again.html
因为有报告显示LLVM V10编译Rust语言性能居然降低了10%。虽然LLVM的主要目的是编译Clang的C/C++,但是还有有必要让LLVM跑起来更快才行。测试Rust异步函数的两种简单的方法
2 Easy Ways To Test async Functionshttps://blog.x5ff.xyz/blog/async-tests-tokio-rust/
技术文章描述测试Rust异步函数的两种简单的方法。用Rust语言写Wayland排版器 - 下一代Linux的X11图形库和UI界面的组件
Writing A Wayland Compositor In Rusthttps://wiki.alopex.li/WritingAWaylandCompositorInRust
Wayland是Linux的下一代API,用于取代X11图形库和UI。Wayland的排版器叫Way Cooler.
Wayland is Linux’s next-gen API to replace X11 for graphics and user
interaction, so this was pretty cool, two next-gen technologies playing
nice together.几年前曾经有过Way Cooler放弃Rust语言而改回用C语言做编程语言的事情:https://way-cooler.org/blog/2019/04/29/rewriting-way-cooler-in-c.htmlRust语言和C++语言安全性和性能操作对比
Comparing the safety and performance of operations in Rust and C++https://www.viva64.com/en/b/0733/
C++ Is Faster and Safer Than Rust: Benchmarked by YandexYandex的Benchmarked分析结果显示:C++比Rust语言更快更安全。大家可以直接仔细看测评报告原文。这篇文章有意思。更像是站在 C++ 这边的一个高级程序员对 Rust 的吐槽(似贬实褒,找出 Rust 目前可能不足的地方)。内容目录如下:
- Myth 1. Rust's arithmetic is no safer than C++'s
- Myth 2. The only strong point of Rust is object lifetime analysis
- Myth 3. Rust's function calls touch memory without good reason
- Myth 4. Rust is slower than C++
- Myth 5. C → C++ — noop, C → Rust — PAIN!!!!!!!
- Myth 6. unsafe turns off all Rust checks
- Myth 7. Rust won't help you with C libraries
- Myth 8. Rust's safety isn't proved
LLVM 10 对Rust语言的编译性能衰退
LLVM 10 has performance regressions with Rusthttps://lists.llvm.org/pipermail/llvm-dev/2020-May/141482.html
[llvm-dev] 7-8% compile time slowdowns in LLVM 10[llvm-dev] LLVM 10 对Rust语言的编译性能衰退,同样的输入代码编译时间慢了7-8%。
原文作者:Rust语言中文社区;如有侵权,请联系管理员删除。