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.
I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming I hate programming
Anyway ive been programming a lot. I got the latest api version implemented, and im trying to make a gui client and i hate it. Im not supposed to write gui code ive decided. I can make the api bindings, i can make a framework to use, but i cant make a gui to save my life. I just want to make a trivial client to show off my api code, but noooo, cause every time i try to write gui code i end up so turned around. I can deal with thread safety headaches so easy but the gui THE GUI IS HURTING ME PLEASE GUI STOP HURTING ME!!!
cute formatting for someone that hates guis so much
but i can relate, api work is so much easier. good luck in your endeavors o7
I can do simple things! And guis are worthwhile in specific instances, but theyre so hard to program ;.;
Ty the api is fun at least ^^
This the reason linux people are so weird about gui?
Unironically yes. Give me a text editor any day. Hell i even read my mail in emacs. Navigation without the mouse is much bdtter.
I mean I can get why cli is cool and I use it sometimes but goddamn....... email cli.............
I am now going to ask the devs of every command line program "what optical mouse hurt you?"