#Feather0.4.5|A Refined Experience

12 messages · Page 1 of 1 (latest)

dense pivot
#

You might’ve heard of it already — Feather is a Rust web framework that does things a little differently.

In a nutshell, Feather is:

  • No async, no runtimes — just good ol' threads
  • Built-in routing, JSON, error handling, JWT, static files, and logging
  • State handled cleanly via a Context API

Version 0.4.5 introduces dynamic routes and native logging support.

Feather Github Repo

Feather is a good fit for you if:

  • You prefer explicit, synchronous code
  • You're building APIs, internal tools, or small services in Rust
  • You want a simple, lightweight framework
  • You value simplicity, performance, and quick iteration

If you're interested:
Check out the GitHub repo, look at the examples, and feel free to open issues or suggestions.
Feedback, benchmarks, and contributions are always welcome.
If you have any other questions, feel free to DM me.

GitHub

Feather🪶: A Rust web framework that does not use async - GitHub - BersisSe/feather: Feather🪶: A Rust web framework that does not use async

tacit gale
#

why would you not want to use async here?

dense pivot
# tacit gale why would you not want to use async here?

Rust's implementation of async is kinda weird. For a simple hobby project I don't think we need Tokio, Tracing, Futures etc. it feels kinda bloated to me. But still I think its async is great but having a fully synchronous web framework for rust is great too in my opinion

tacit gale
#

well, no async means that IO operations suck

#

and IO is often the most performance-impactful thing on servers

dense pivot
# tacit gale well, no async means that IO operations suck

I don't think they suck. tho modern OS's schedule threads very well and if you are using a threadpool its even better of course async is will definitely be better especially on high-load situations but that does not mean threads are bad and they "suck "

#

I also try to improve the runtime every day maybe someday I might go full non-blocking event loop maybe using mio&rayon etc.

tacit gale
#

whats the use of threadpool here?

dense pivot
silver thunder
#

async is awesome!

dense pivot
#

right now I am working on a big update that will bring up to 2.5x performance boost. I gonna switch to the may coroutuines and IO Operations will be faster and concurrent and will use less memory and cpu

#

I'll announce it here once it releases