New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x32 abi in future? #1579
Comments
Any benchmarks for common use cases? |
https://lwn.net/Articles/548838/ While the higher performance (compared to x86 and x86_64) in every (perhaps contrived) benchmark is nice, it's especially the far lower memory footprint that interests me. RAM isn't cheap with most cloud/VPS providers. |
The only significant difference against x86_64 are 4-byte pointers (and "long" C type), which can increase speed due to saving cache space (but that IMO depends on particular case a lot). It's speculated that VMs like python and haskell would have larger benefits, as they maintain lots of pointers. I could find almost no benchmarks, though (e.g. a few days ago someone using it on debian wrote it is faster, but this is all quite vague). |
(triage) To we already have that? |
We don't, but x32 doesn't seem really worth the effort in this general-purpose nixpkgs case. Maybe for particular packages or use cases. It would take lots of resources to maintain (whole) nixpkgs for yet another "platform". Thanks for pinging me; I recently remembered I wanted to close this, but I wasn't at a computer at that time and forgot afterwards. |
32-bit firefox does save memory noticeably, which is why I commonly used it on my 4GiB-RAM systems (I have more RAM now); IIRC it/upstream didn't support x32abi when I last checked (perhaps most hopeful link). |
I do want to have |
Heheh, I wish it was! But still getting the stdenvs to build, and then I need to rewrite the docs, and finally others need to review. |
Hello, I am still interested by this, and since cross-compilation improved a lot recently, I wonder if this could be added back on the table... |
It seems a good thing for the most common (desktop) use cases. https://sites.google.com/site/x32abi/ Probably report your interest/ideas here. Some mainstream distros are starting to support it (Gentoo, Debian), so pushing it to nixpkgs should not be so much work.
The text was updated successfully, but these errors were encountered: