Pointers are too bighttps://twitter.com/kripken/status/1262092956070109185 …
-
-
Replying to @steveklabnik
I think you could keep a wide address space, but still use narrower types than absolute pointers for most of your references
2 replies 0 retweets 4 likes -
Replying to @jckarter @steveklabnik
Wouldn't this require things that the allocator can't guarantee? (Like pages being relatively <32 bits apart in address space)
1 reply 0 retweets 1 like -
Replying to @sgrif @steveklabnik
A general allocator, yeah, but you could conceivably organize your objects in a way that you can use alternative indexes
1 reply 0 retweets 1 like -
It would be fun to try to make a pseudo-x32 environment that can run within an LP64 environment. Have the binary reserve 4GB of BSS, use a custom allocator that grabs memory out of that space, and thunk the host OS interface to transition to big pointers when needed
1 reply 0 retweets 2 likes
Joe stop trying to bring far pointers back
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
