in-one-weekend
Thruster
in-one-weekend | Thruster | |
---|---|---|
5 | 8 | |
0 | 1,049 | |
- | 1.0% | |
4.2 | 5.6 | |
about 2 years ago | about 2 months ago | |
Rust | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
in-one-weekend
-
What is one of the best ways to master Rust?
I followed that tutorial as one of my very first Rust projects. Here is my GitHub repo: https://github.com/LoganDark/in-one-weekend
- My first Rust project, a raytracer based on Ray Tracing in One Weekend book
-
How would you go about learning advanced Rust by coding with as little theory as possible?
my implementation
- First Rust project: Simple Raytracer!
-
Rust is hard, or: The misery of mainstream programming
I feel like this isn't just a case of people intentionally trying to ignore Rust's idioms, but just not knowing how to transfer over their existing knowledge. As someone who's learned over 15 programming languages throughout the years (rookie numbers, I know ;) it was relatively easy for me to learn Rust in about 2 weeks by diving straight into Ray Tracing in One Weekend (my implementation here), but I still feel like not many people could have done that, so I tend to hold off on assuming that they're intentionally trying to misuse Rust.
Thruster
- Thruster Web Server Framework 2023 Roadmap (because one whole person on reddit asked for it)
-
shuttle v0.7.1 has been released (improved isolation, new supported frameworks, QOL improvements)
We've added support for the warp, salvo & thruster frameworks
-
Rust is hard, or: The misery of mainstream programming
Maybe, or maybe not, interestingly, I had to store async functions that call other arbitrary async functions for thruster. I tried many of the things posed in the article, and eventually ended up doing something similar to how bevy works -- that is, I made a bunch of tuples.
-
What is the best web backend framework for a big project ?
For a quick self promo, I've used thruster (https://github.com/thruster-rs/Thruster) for a few side projects with 10k reqs/day or so and I love it to death coming from nodejs land
-
Rust pros and cons vs e.g. nodejs
Now for my shameless plug; I use a framework primarily that I maintain that aims to have the ergonomics of express or koa in rust. Try it out if you're interested: thruster.
- thruster v1.1.10: Adding "strict mode" and actix-web as a backend
-
Thruster 1.1.2 Release - An express-like HTTP server in Rust
If you'd rather wait for the next release (it'll be more like this afternoon rather than a year from now, promise!) I just fixed it in a PR here
What are some alternatives?
hello-world.rs - 🚀Memory safe, blazing fast, configurable, minimal hello world written in rust(🚀) in a few lines of code with few(1092🚀) dependencies🚀
rocket-auth-login - Authentication and login processing for Rust's Rocket web framework. Demonstrates a working example of how to authenticate users and process login as well as how to handle logging out.
Hirrolot
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
nebulae - A multi-threaded, configurable, Nebulabrot renderer
feroxbuster - A fast, simple, recursive content discovery tool written in Rust.
semver-trick - How to avoid complicated coordinated upgrades
metalang99 - Full-blown preprocessor metaprogramming
yew - Rust / Wasm framework for creating reliable and efficient web applications
RayTracingRust - A simple CPU ray tracer written in Rust
Rocket - A web framework for Rust.