Rust: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 70: Line 70:
* [https://www.sea-ql.org/SeaORM/ Rust » ORM » SeaORM]
* [https://www.sea-ql.org/SeaORM/ Rust » ORM » SeaORM]
* [https://diesel.rs/ Rust » ORM » Diesel]
* [https://diesel.rs/ Rust » ORM » Diesel]
* [https://wiki.mozilla.org/Oxidation Rust » Oxidation]


|-
|-
Line 76: Line 77:
|-
|-
| valign="top" |
| valign="top" |
* [[JavaScript]]
* [[Bash]]
* [[Swift]]
* [[Java]]
* [[Lua]]


| valign="top" |
| valign="top" |

Latest revision as of 05:52, 7 February 2024

A language empowering everyone to build reliable and efficient software.
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.
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.
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.

Rustup

The Rust installer and version management tool

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup update

Cargo

The Rust build tool and package manager. When you install Rustup you’ll also get the latest stable version of the Rust build tool and package manager, also known as Cargo. Cargo does lots of things:

- build your project with cargo build
- run your project with cargo run
- test your project with cargo test
- build documentation for your project with cargo doc
- publish a library to crates.io with cargo publish
To test that you have Rust and Cargo installed, you can run this in your terminal of choice:
cargo --version

Knowledge

Crustaceans: An arthropod of the large, mainly aquatic group Crustacea, such as a crab, lobster, shrimp, or barnacl
cargo new --lib <library_project_name>
cargo new <application_name>
cargo login -- <token>

References