News for hackers. Stuff that matters.
Re:Seed – A Rust front-end framework for creating fast and r... by da39a3ee on Friday September 17, 2021 @11:10PM (#28573298)
> This is one big advantage for using Rust for both backend and frontend, in that you never have to worry about your types getting out of sync.

Of course this is a hack compared to Rust BE and FE, but I’ve been finding that auto-generating Typescript type definitions from a Pydantic (Python) API works pretty nicely. Of course, what’s going on under the hood there is all a lot uglier than a beautiful modern compiler with an expressive modern type system, but it’s cool that it works.

Re:Seed – A Rust front-end framework for creating fast and r... by the__alchemist on Saturday September 18, 2021 @12:14AM (#28573654)
When I learned of Pydantic, my first thought was "This is a lot like Serde in Rust".