4 comments

[ 0.31 ms ] story [ 24.6 ms ] thread
is there a way to one-click install and try it on the server to setup easily?
While Rust and HTMX are a cool combo, this feels like random blog spam. The video is just a generic techfluencer talking about buzzword tech without any substance. At the very least tag the post with "Show HN".
YES! sqlx::query_as in the wild!

Making queries like this checks the sql is valid at compile time by connecting to the real database and running it with demo data inside a rolled-back transaction!

(If you'll forgive the self promo, I explained it better in this video https://youtu.be/pocWrUj68tU)

Rust's macro system allows you to program the compiler with each new program, and sqlx is my favourite example of this.