python data types are pretty far detached from the hardware. they are all dynamic objects. I don't think python has memory unions.
I must have been thinking of Golang's structs w/ unsafe pointers.
Although Python 3 is getting closer:
https://docs.python.org/3/library/struct.html
Please Login to reply.
No replies yet.