2023-11-29 10:39:24 -05:00
|
|
|
---
|
|
|
|
minutes: 10
|
|
|
|
---
|
|
|
|
|
2022-12-21 16:36:30 +01:00
|
|
|
# What is Rust?
|
|
|
|
|
2023-02-03 15:51:41 +00:00
|
|
|
Rust is a new programming language which had its [1.0 release in 2015][1]:
|
2022-12-21 16:36:30 +01:00
|
|
|
|
2023-12-31 00:15:07 +01:00
|
|
|
- Rust is a statically compiled language in a similar role as C++
|
|
|
|
- `rustc` uses LLVM as its backend.
|
|
|
|
- Rust supports many
|
|
|
|
[platforms and architectures](https://doc.rust-lang.org/nightly/rustc/platform-support.html):
|
|
|
|
- x86, ARM, WebAssembly, ...
|
|
|
|
- Linux, Mac, Windows, ...
|
|
|
|
- Rust is used for a wide range of devices:
|
|
|
|
- firmware and boot loaders,
|
|
|
|
- smart displays,
|
|
|
|
- mobile phones,
|
|
|
|
- desktops,
|
|
|
|
- servers.
|
2022-12-27 16:52:41 +01:00
|
|
|
|
|
|
|
<details>
|
|
|
|
|
|
|
|
Rust fits in the same area as C++:
|
|
|
|
|
2023-12-31 00:15:07 +01:00
|
|
|
- High flexibility.
|
|
|
|
- High level of control.
|
|
|
|
- Can be scaled down to very constrained devices such as microcontrollers.
|
|
|
|
- Has no runtime or garbage collection.
|
|
|
|
- Focuses on reliability and safety without sacrificing performance.
|
2022-12-27 16:52:41 +01:00
|
|
|
|
|
|
|
</details>
|
2023-02-03 15:51:41 +00:00
|
|
|
|
|
|
|
[1]: https://blog.rust-lang.org/2015/05/15/Rust-1.0.html
|