News for hackers. Stuff that matters.
Re:MSVC: The Devourer of Const by planede on Wednesday January 04, 2023 @08:28AM (#34245280)
32 bit mode has fewer registers and CPU extensions to use. On Linux there are experiments with an ABI with 32 bit pointers, but otherwise using the full feature set of AMD64, it's called the x32 ABI.

https://en.wikipedia.org/wiki/X32_ABI

Re:MSVC: The Devourer of Const by jcelerier on Wednesday January 04, 2023 @08:51AM (#34245473)
And it works so well! I remember doing some particle rendering and tree walking benchmark on it and it was really really faster, like 15% consistently
Re:MSVC: The Devourer of Const by planede on Wednesday January 04, 2023 @09:19AM (#34245744)
Interesting! I'm actually tempted to put x32 Debian on a low-end netbook I have. I wonder if it's possible with multiarch and try with a few apps first.
Re:MSVC: The Devourer of Const by tpush on Wednesday January 04, 2023 @10:01AM (#34246252)
Might get removed in the future [0], though!

[0] https://lwn.net/Articles/774734/

Re:MSVC: The Devourer of Const by planede on Wednesday January 04, 2023 @10:46AM (#34246910)
Ah, too bad. I wonder why it needs a distinct Linux syscall interface though. There must be a reason why the existing x86_64 or x86 syscalls could not be used for x32.