Comment

Comment by winter_blue

The x32 ABI is another opportunity for optimization: https://en.wikipedia.org/wiki/X32_ABI

x32 binaries are different from x86 programs in that they get access to 64-bit x86 registers, while their pointers are 32-bit.

It would be really cool if some Linux distro provided both x64 and x32 packages for programs not expected to rarely if ever use more than 4 GiB.

Similarly, it would be cool if Chrome and Firefox spawned x32 processes for most web pages, and then only spun up a x64 process when a web page exceeded like 2 GiB of memory usage (and transparently & quickly converted the page over onto the new process).

parent winter_blue 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton