top | item 41769031

(no title)

lyang2821 | 1 year ago

I bootstrapped Lapdev (https://lap.dev/) all in Rust too. Axum for the backend and Leptos for the frontend. Sharing structs between backend and frontend is quite nice.

Besides the memory safety, type system etc, Rust gives you the confidence that you know it can scale in pretty much all scenarios in terms of performance.

discuss

order

lukaesch|1 year ago

Congrats on the impressive project! Sharing structs between the frontend and backend sounds very helpful. I've experienced the advantage of shared FE and BE code in JS/TS projects, and it’s definitely valuable.

What led you to choose Leptos for the frontend besides the shared code advantage?

lyang2821|1 year ago

For frontend in Rust, there're Yew, Sycamore, Dioxus and Leptos to choose from. Leptos fits me the best in terms of DX.