News for hackers. Stuff that matters.
Re:Dioxus 0.6 – Crossplatform apps with Rust by airstrike on Wednesday December 11, 2024 @01:06PM (#42390752)
the tooling might be in Rust, but now I have to write some new DSL that isn't Rust
Re:Dioxus 0.6 – Crossplatform apps with Rust by jkelleyrtp on Wednesday December 11, 2024 @01:38PM (#42391153)
The DSL is basically just Rust structs with optional fields. We essentially use the same struct parser rust uses but with some small tweaks.

You want to use a macro for this so you can do hot-reloading - doing it with native Rust is currently impractical for rapid dev.