stmblast
We’ve just launched our new event for AoC-style Rust code challenges, Shuttle Christmas Code Hunt 2024. We’re looking forward to having you join us and get started on learning Rust for web development, as well as sharing your progress on our Discord server.
Happy hunting!
Shuttle Christmas Code Hunt 2024 – AoC-style Rust code challenges
Using Rust in Sprints and Marathons
I am not entirely sure if this'll be the future, but having one model that has relatively good performance over a huge range of types of data feels pretty good tbh
Self-Hosted Uptime Monitoring with Rust: How To
I think it's difficult to not be addicted with how much simple content there is out there that's easy to digest. TikTok, YT shorts and Instagram reels are pretty good examples of this.
Why Type Safety Is Important
I agree that this could have been worded better - I'll make an adjustment to change this.
Do you think Mintlify could be a viable choice if and when it supports OpenAPI more comprehensively? Currently, my company uses Mintlify and I find it to be suitable for purpose but in the future, we may end up using OpenAPI.
I work on the sofa and my colleagues are urging me to get a proper office chair, but I don't really want to because my living space is tiny and I intend to move out soon (3-4 months ish).
You can also write unit tests in the same files as your main code. Eventually you'll want some kind of test suite when your codebase gets big enough, but it works well enough that you don't need to if you don't want to (for a small codebase).
Frameworks like Axum also of course support testing - for instance this crate lets you quickly mock up your server without having to do much: https://docs.rs/axum-test/latest/axum_test/
Cypress on the other hand I found to be really, really good
I can spin up a generic Axum backend service within probably about half an hour to an hour that contains most of the things I need (auth, CRUD, similar things) once I know what I need, configuration and business logic depending. I think the key phrasing is primarily "when you're familiar with Rust" - if you're not familiar, then it will definitely be a slog.
Certain things that would require you to manually implement a complex trait (for example, Send + Sync + 'static plus whatever else) would probably slow you down though, but presumably by that time you probably already know what you're doing.
I use it for my personal stuff and it's great. No hassle, just paste your markdown in and you're good to go.
I'm very much looking forward to things like generators/coroutines (or whatever they're called now) once they're made stable as well as async traits and whatever makes the Pavex framework able to be used on stable Rust.
I'm sad that the development pace for it has slowed down extremely significantly though.