what you could do with rust

Rust is a language which reaches into almost all corners in the world of development, whether it is super fast server-side execution, or near native performance in browsers with webassembly, or game development, or making cli tools, or almost anything …


This content originally appeared on DEV Community and was authored by Rishit Khandelwal

Rust is a language which reaches into almost all corners in the world of development, whether it is super fast server-side execution, or near native performance in browsers with webassembly, or game development, or making cli tools, or almost anything you could imagine.

For servers, there are very fast, async frameworks like actix or rocket, with a very easy to use api for a compiled language.
Example:

#[get("/")]
fn index() -> &'static str {
  "Hello Rocket!"
}

...

There are crates like web-sys and js-sys to enable you to use web apis in your to-be webassembly code, and amazing tools like wasm-pack to make compiling and using webassembly much easier :)

And rust has a great amount of targets already to whom you can compile your code to :) and many rust crates are available which hide away the platform specific details from you, so you can just focus on what you're making.

Rust tooling is pretty awesome.
rustup to manage rust compiler, components, targets, etc.
cargo to use and publish crates, and hide away the mess of compiling and linking and running the code.
and much more depending on your project.
And specially rust-analyzer (a lsp for rust), which makes programming in rust a lot easier.

Rust's website


This content originally appeared on DEV Community and was authored by Rishit Khandelwal


Print Share Comment Cite Upload Translate Updates
APA

Rishit Khandelwal | Sciencx (2021-08-07T05:32:43+00:00) what you could do with rust. Retrieved from https://www.scien.cx/2021/08/07/what-you-could-do-with-rust/

MLA
" » what you could do with rust." Rishit Khandelwal | Sciencx - Saturday August 7, 2021, https://www.scien.cx/2021/08/07/what-you-could-do-with-rust/
HARVARD
Rishit Khandelwal | Sciencx Saturday August 7, 2021 » what you could do with rust., viewed ,<https://www.scien.cx/2021/08/07/what-you-could-do-with-rust/>
VANCOUVER
Rishit Khandelwal | Sciencx - » what you could do with rust. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/08/07/what-you-could-do-with-rust/
CHICAGO
" » what you could do with rust." Rishit Khandelwal | Sciencx - Accessed . https://www.scien.cx/2021/08/07/what-you-could-do-with-rust/
IEEE
" » what you could do with rust." Rishit Khandelwal | Sciencx [Online]. Available: https://www.scien.cx/2021/08/07/what-you-could-do-with-rust/. [Accessed: ]
rf:citation
» what you could do with rust | Rishit Khandelwal | Sciencx | https://www.scien.cx/2021/08/07/what-you-could-do-with-rust/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.