this post was submitted on 18 Nov 2024
15 points (100.0% liked)
Rust Programming
8190 readers
5 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Anything and everything, really.
I wrote an idle inhibitor in Rust, a GUI WiFi connection manager for my wife, an API client for WriteFreely, I contributed to a Wayland compositor (niri), wrote a library & CLI tools to talk to Kaleidoscope-powered keyboards. I wrote the frontend of my personal search engine in Rust too.
But I also built a Tauri application where the backend and the frontend were written in Rust too. No HTML or JavaScript in sight, not in the sources at least.
Professionally, the answer's the same: if I am allowed to write it in Rust, I will write it in Rust, whether it is a low-level library that talks with hardware, a GUI application, or some web related thingy, or anything inbetween.
Oh! That's nice. I have a question. Why Rust above all the other languages for web-related stuff?
Again, I do not have any opinion on this, all I know is Python so ๐
I have a project idea so you may convince me to try to code it in Rust ๐
I use Rust mostly because I am comfortable working with it. It hits a sweet spot of often letting me write in a functional style, at often zero or very low cost. It has a lot of high quality libraries, for almost any purpose. And the language itself comes with great things too. Traits, Option, and Result are all things I miss when working in other languages like Go.
It's also a memory safe language that is also fast, approachable, and has a ton of good documentation. What's not to like?