flakestry / flakestry.dev

A public central registry of Nix flakes.
https://flakestry.dev
Apache License 2.0
93 stars 8 forks source link

Rewrite the backend in Rust? #49

Open sestrella opened 2 months ago

sestrella commented 2 months ago

First and foremost, I'd like to thank everyone who contributed to this project, which has been an excellent contribution to the Nix ecosystem. Inspired by @domenkozar work on devenv, I want to propose rewriting the backend in Rust. While some of the primary contributors may already be familiar with this language, I would want to summarize and highlight some of the features that this project would benefit the most from:

After some little research, I found that there are Rust clients for all of the services the application relies on:

Regarding web frameworks, axum appears to be one of the most popular based on overall performance. Before getting into more technical details, I wanted to get some feedback about this proposal, as I understand that rewriting a piece of software in a new language always involves some risk and has an impact on maintainers. Nonetheless, I'd like to put this on the table in order to start a conversation and, hopefully, answer all of the questions that arise.

Note: If this proposal gets approved, I would be pleased to submit a PR.

domenkozar commented 2 months ago

That sounds good to me, I'd happily accept the PR.

Using hyper/sqlx/axum sounds like a good choice.