OTP-8941 == erts == From this release, the previously experimental halfword emulator is now official. It can be enabled by giving the --enable-halfword-emulator option to the configure script. The halfword emulator is a 64-bit application, but uses halfwords (32-bit words) for all data in Erlang processes, therefore using less memory and being faster than the standard 64-bit emulator. The total size of all BEAM code and all process data for all processes is limited to 4Gb, but ETS tables and off-heap binaries are only limited by the amount of available memory. Maybe a general useflag should be reserved for these 32 in 64 modes, because many 'serious' applications seem to get this functionality. Reproducible: Always
Can you name other examples of these applications? Also I think we generally only do global useflags after we've got a few uses of local flags.
MonetDB (--oid32, results in a database where identifiers in the database are limited to 32bit only, to prevent memory usage) SphinxSearch (--enable-id64, results in a database where the identifier can be 64bit, but not dependent on architecture it seems) (first ones to come off my mind this morning)
I've committed this to 14.2.2-r1, thanks for reporting!