4 ms·
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 st
by crabbone 4y ago
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?