Ahmad Hosseini
A small introduction to rust language
Rust
Why Rust?
For the sixth-year,
Rust is the most loved language
https://insights.stackover
fl
ow.com/survey/2021#most-loved-dreaded-and-wanted-language-love-dread
Rust: A Language for the Next 40 Years
https://www.youtube.com/watch?v=A3AdN7U24iU

https://carols10cents.gitlab.io/rust-next-40-years/
Carol Nichols
History
Firefox
Gecko
Servo
object oriented, Not anymore …
C
Linux
No garbage,
No garbage collector
No runtime, Native
designed for performance,
safety, and concurrency.
Systems programming & 

High-Level programming
Performance matters
secs mem gz busy
Rust 0.45 498,964 3040 0.77
C 0.86 712,208 820 1.27
C++ 0.52 1,788 1853 0.52
Go 1.35 1,560,228 996 2.24
Python 7.20 1,005,184 814 10.75
reverse-complement test
https://benchmarksgame-team.pages.debian.net/
Performance matters
secs mem gz busy
Rust 0.77 147,524 2458 1.99
C 0.80 152,172 1397 2.01
C++ 1.10 203,924 1315 3.43
Go 3.85 324,200 810 6.01
Python 1.36 111,852 1403 2.64
regex-redux test
https://benchmarksgame-team.pages.debian.net/
Actix NGINX
web server

+

web framework
web server

Benchmark environment
OS Ubuntu Server 20 LTS
CPU
16 vCPU

AMD EPYC 7000 series
RAM 32 GB
Network 10 Gbps
Disk 40 NVMe SSD / 3000 IOPS
Server
AWS EC2

c5.4.xlarge
Actix
NGINX
Use case
Kernel

Low level

Embedded

System

Performance

Safety

High level (desktop, web …)
Rust
Foundation
Amazon, Huawei, Google, Facebook, Microsoft, and Mozilla
New

Stories
https://www.rust-lang.org/production/users

A small introduction to rust language