DEV Community

Rishit Khandelwal
Rishit Khandelwal

Posted on

3 1

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 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!"
}

...
Enter fullscreen mode Exit fullscreen mode

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

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (1)

Collapse
 
sahilpabale profile image
Sahil Pabale

Very cool applications! Just increase your writing's length😂😂

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay