Rust Programming Language - Rust 编程语言

Rust Programming Language - Rust 编程语言

https://www.rust-lang.org/

A language empowering everyone to build reliable and efficient software.
一门赋予每个人构建可靠且高效软件能力的语言。

在这里插入图片描述

Rust 语言是一种高效、可靠的,兼顾开发效率和执行效率通用高级语言。Rust 语言由 Mozilla 开发,最早发布于 2014 年 9 月。Mozilla is the not-for-profit behind the lightning fast Firefox browser.

1 Introduction

Performance - 高性能

Rust is blazingly fast and memory-efficient: with no runtime or garbage collector, it can power performance-critical services, run on embedded devices, and easily integrate with other languages.
Rust 速度惊人且内存利用率极高。由于没有运行时和垃圾回收,它能够胜任对性能要求特别高的服务,可以在嵌入式设备上运行,还能轻松和其他语言集成。

Reliability - 可靠性

Rust’s rich type system and ownership model guarantee memory-safety and thread-safety - enabling you to eliminate many classes of bugs at compile-time.
Rust 丰富的类型系统和所有权模型保证了内存安全和线程安全,让您在编译期就能够消除各种各样的错误。

Productivity - 生产力

Rust has great documentation, a friendly compiler with useful error messages, and top-notch tooling - an integrated package manager and build tool, smart multi-editor support with auto-completion and type inspections, an auto-formatter, and more.
Rust 拥有出色的文档、友好的编译器和清晰的错误提示信息,还集成了一流的工具 - 包管理器和构建工具, 智能地自动补全和类型检验的多编辑器支持,以及自动格式化代码等等。

notch [nɒtʃ]:n. 等级,档次,位阶,(表面或边缘的) V 形刻痕 v. 赢取,获得,(在表面或边缘) 刻 V 形痕
blaze [bleɪz]:n. 火焰,火灾,烈火,(光或色彩等的) 展现 v. 闪耀,熊熊燃烧,发亮光,怒视

2. Application

Rust in production - 生产环境中的 Rust

Hundreds of companies around the world are using Rust in production today for fast, low-resource, cross-platform solutions. Software you know and love, like Firefox, Dropbox, and Cloudflare, uses Rust. From startups to large corporations, from embedded devices to scalable web services, Rust is a great fit.
全世界已有数百家公司在生产环境中使用 Rust,以达到快速、跨平台、低资源占用的目的。很多著名且受欢迎的软件,例如 Firefox、 Dropbox 和 Cloudflare 都在使用 Rust。从初创公司到大型企业,从嵌入式设备到可扩展的 Web 服务,Rust 都完全合适。

Build it in Rust

Command Line - 命令行
Whip up a CLI tool quickly with Rust’s robust ecosystem. Rust helps you maintain your app with confidence and distribute it with ease.
使用 Rust 强大的生态系统快速实现命令行工具。Rust 可助您放心维护,轻松分发应用程序。Rust 编译器可以直接生成目标可执行程序,不需要任何解释程序。

WebAssembly
Use Rust to supercharge your JavaScript, one module at a time. Publish to npm, bundle with webpack, and you’re off to the races.
使用 Rust 来逐个增强您的 JavaScript 模块。发布到 npm,使用 webpack 打包,即可感受到惊人的速度提升。Rust 可以被编译成 WebAssembly,WebAssembly 是一种 JavaScript 的高效替代品。

Networking - 网络
Predictable performance. Tiny resource footprint. Rock-solid reliability. Rust is great for network services.
可预见的性能,极小的资源占用,坚如磐石的可靠性。Rust 具备很强的大规模并发处理能力,十分适合开发普通或极端的服务器程序。

Embedded - 嵌入式
Rust 同时具有 JavaScript 一般的高效开发语法和 C 语言的执行效率,支持底层平台的开发。

whip [wɪp]:n. 鞭子,鞭状天线,投票指示,(某党) 议员领袖 v. 鞭打,鞭笞,击败,抽打
supercharge:v. 增加 (… 的) 负荷,(使) 增压

3. Rust 在线执行工具

https://play.rust-lang.org/

在这里插入图片描述

References

https://www.rust-lang.org/
https://www.runoob.com/rust/rust-tutorial.html

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Yongqiang Cheng

梦想不是浮躁,而是沉淀和积累。

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值