Why not make 64-bit Chromium for those who has over 16 Gb of RAM and 32-bit for normal people?
[1] https://docs.google.com/document/d/10qh2-b4C5OtSg-xLwyZpEI5Z...
Why not make 64-bit Chromium for those who has over 16 Gb of RAM and 32-bit for normal people?
[1] https://docs.google.com/document/d/10qh2-b4C5OtSg-xLwyZpEI5Z...
Leaving available memory aside, for a lot of optimizations it's useful to have plenty virtual memory space - which is definitely not the case in 32bit.
Basically, just because js bytecode doesn't need more than 4gb, doesn't mean no other part of chrome needs more.
Back when I was still using Windows, you could boot the 32-bit OS with "/3GB", which would make the kernel/user split 1GB/3GB instead of the original 2GB/2GB default - but it was optional and explicit, because quite a bit of software failed; I would guess that changed with time, but likely a similar "/4GB" switch for 32-bit apps on 64-bit OS would also expose assumptions about the address space layout ...
In terms of speed, it's:
1. x64 with compressed pointers
2. x64
3. x86
In terms of actual production usage, it's:
1. x64
2. x64 with compressed pointers
3. x86
So x86 is the slowest and the least used among the three. And frankly it would be very difficult to hire talent in 2020 if you're targeting the x86-64 platform but chose to use the legacy x86 mode for whatever reason.