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.
child behavior issues, parenting issues??
We got a kid who's pretty sick. But parents are refusing everything, and like literally everything.No bloodwork, no oxygen, no swabs, no oral meds, no IV, and so on. Mostly because the child is screaming they don't want to, meanwhile desatting to 70% and finally "chilling out" which the parents interpret as working
But why bring your child in if you don't want interventions done? We've explained that being under 80% for a long time means possible brain injury and possibly respiratory failure even death. We can't help her if you refuse all interventions. Your kid isn't going to agree to having prongs put in, but your kid isn't in charge of their own health when they're 5 years old because they don't have that capacity yet??? Your kid isn't going to like having swabs done
spoiler
wth, that's awful. At some point doesn't the obligation to keep the child alive and without suffering permanent damage supercede whatever objections the parents have? In a sane country it definitely would.spoiler
Eventually we have to consider it abandonment but parents have a wide latitude in deciding the course of their kids' treatment (we try not to do things without consent anymore or against parents' consent). We eventually convinced these parents to allow us to put on nasal prongs for oxygen in their kid, I didn't push it and ask if we can draw bloodwork or start an IV now and just let her scream it out until she fell asleep.I was getting DV vibes or controlling/emotional abuse vibes from one of the parents but I couldn't get them to leave so I can ask the kid and the other parent, which is always frustrating. No suspicious marks and they followed instructions on not yelling and swearing in wee hours of the early morning on the pediatrics ward after they did the one time so I have no basis for separating them out. I've seen one parent and their kid be pretty compliant and good and then the bad one shows up asking why we're doing stuff and threatening to leave AMA and yelling and cowing the kid and the other parent to stop taking treatments and it's all very frustrating