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.

Show

  • bolshevikLovelace [she/her, love/loves]
    ·
    9 hours ago
    i still don't know if i have to cw weed

    what has your experience with weed been like? it's almost a special interest for me so i'm very willing to discuss it, though i don't want to over-explain anything you already know

    i'm a daily stoner gal (between the hours of 4pm and midnight) and have been for a few years. when i turned 18 i relied pretty heavily on alcohol to deal with being overwhelmed and had some scares with over-consumption so fuck that. eventually, i tried weed and was terrible at smoking it so got really good at making edibles (once you get the dosing down, edibles are really fun. they keep you high for much longer too). then i found out about dry herb vaporisers and that's what i've been using ever since (tip: if you save the vaporised herb you can skip the decarb process of making edibles and got some extra use out of the flower). weed delivers the effects that i need 90% of the time, that is quieting down the really loud parts of my brain and letting me relax. if you have an actual weedstore available then that's dope as hell, i'm so jealous - closest to legal here is medical (which i'm on, it's fun getting drugs delivered to my house)

    (oh and sorry for all the parentheses)

    • ashinadash [she/her]
      ·
      9 hours ago
      Idk either

      It is legal here, my experience has been that I'm supposed to ask for like cbd oil or something which may or may not be good for both chronic pain and untreatable anxiety but I both keep forgetting and am too square to go in. I don't know anything about it.

      • bolshevikLovelace [she/her, love/loves]
        ·
        8 hours ago
        spoiler

        ah okay, well if you want to start with trying just cbd oil then that sounds good. from my experience, cbd doesn't do shit by itself and thc is not as effective alone either. getting a good cbd+thc ratio is normally what i try to strive for. i've heard that weed shop people are pretty friendly? if i were you, this is what i would do: make a plan to go in, ask for a balanced (25:25 is what i have) cbd+thc oil and say that you're new to it, pick a time to try it and start slow at a low dose, wait 1-2 hours before effects kick in, take a bit more if you need. i've said here previously that having a plan of what to do while you're high helps as well. on a really stressful day i'll draw a bath, put some nice music on, have some snackies prepared, and get blazed asf

        all those are suggestions, do everything at your own pace and whatnot. but good luck! it sounds like you want to try it, so i hope you can make your way into the store eventually. in the meantime i'll be over here stalin-smokin