News for hackers. Stuff that matters.
Re:Pydantic V2 rewritten in Rust is 5-50x faster than Pydant... by crabbone on Saturday April 08, 2023 @09:38AM (#35492963)
All Python objects are C structs already... that's in part why binding between Rust and Python is possible.

Rust doesn't really have objects though. It has structs. But these are the definitions that exist ad definition time. They disappear into the ether at runtime, so, I'm not sure how such communication between Python and Rust could've happened. Or, in other words: did you mean communication at run time or at compile time? Does Python, in your version of events, generate Rust source code, or does it talk to a program written in Rust?

There are no comments on this comment yet.