A language empowering everyone to build reliable and efficient software.
from rust-lang.org
Rust by itself is a great language, but what really makes it shine are its many great crates. The ecosystem around rust is one of the best there is, and its documentation is practically unrivalled. So lets look at some of those crates!
actix-web
Actix-web is an amazing web server framework for rust. It’s modular, easy to use, intuitive and fast. It’s also what lemmy is built on! So when you use this very site, you are using something build with actix!
Bevy
Bevy is a code first game engine for rust, based on the ECS paradigm. It’s incredibly refreshing and different from most other engines. It is also unbelievably modular, in fact, just about every part of the engine cam be removed or added as you please! If you are every looking for something simple to play around, try bevy!
Tokio
The backbone of most asynchronous rust. It provides everything needed to build reliable, fast web applications!
Serde
Serde is the go-to library for serialization and deserialisation in rust. Its derive macros make it a breeze to use, and there are countless crates supporting various formats with Serde!
SQLx
SQLx is an amazingly simple sql handling crate. It is both feature rich and yet simple, and just a joy to use!
Reqwest
A neat little crate for sending http(s) requests! It’s also used in Lemmy, and just about anywhere else where someone needs to do get some thing from an http(s) endpoint!
And this is far from all! Rust is a lovely language, with an even more amazing ecosystem!
Have an amazing week, everyone!
Join our public Matrix room! https://matrix.to/#/#tracha:chapo.chat
As a reminder, be sure to properly give content warnings and put sensitive subjects behind proper spoiler tags. It’s for the mental health of not just your comrades, but yourself as well. Here is a screenshot of where to find the spoiler button.
drinking
Telling myself I cleared the very low bar of “didn’t lose anything walking last night” at least (done that before years ago, lost one of my favorite hats and a phone before wandering around blackout drunk when I was worse years ago)
I know I’m better than then but backsliding at all makes me so mad at myself
I want to be able to say "not one step back ) but I’ve slipped up 4 or 5 times(?) in the last couple months and it always sparks a self loathing spiral
Forgot how much I hate dealing with hangovers too
There’s a reason I tried to quit beyond perfectionist self crit lol
i think it’s less about not slipping sometimes and being perfect and more about just trying your best as much as you can. improvement is improvement you know? That whole ‘2 steps forward and 1 step back’ dance still moves you forward.
i really know how it is I had a lot of trauma from my childhood my own shame was drinking until I blacked out and pissed myself but slow and steady got me sober even though it took many years I eventually got there.