The same old arguments...
The same old arguments...
Posted Dec 7, 2025 18:58 UTC (Sun) by josh (subscriber, #17465)In reply to: The same old arguments... by JoeBuck
Parent article: Eventual Rust in CPython
I doubt we'll ever stabilize the internal layout of anything more complicated than `Result` or `Option` (and even for those, doing so means giving up on any further opportunities for niche optimization, the mechanism by which types like `Option<&T>` is the same size as `&T`).
For something like `Vec` or `HashMap`, the most likely path to stabilization is an opaque pointer plus a vtable of methods.
