Runtime: let NVDA expose which runtime (32-bit or 64-bit) it is running on #16330
Labels
architecture/x64
p5
https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
triaged
Has been triaged, issue is waiting for implementation.
Hi,
Stems from #16304:
Introduction
As of 2024, Windows 10 is the last version to support 32-bit processors from Intel, AMD, and ARM, with Widows 11 supporintg 64-bit platforms only (AMD64 and ARM64). In 2025, consumer support for Windows 10 will end, with end of support for long-term servicing channel builds planned for 2032 (Windows 10 IoT Enterprise 2021 LTSC).
Originally, NVDA was written for 32-bit Python runtime. With impending end of support for 32-bit platforms, moving to 64-bit became a goal for NV Access and the NVDA community. According to #16304, a phased transition plan is proposed, with full transition tentatively scheduled for 2026.
Is your feature request related to a problem? Please describe.
During 32-bit to 64-bit transition, it becomes important to know which Python runtime NVDA is running on. This way NVDA Core and add-ons can execute appropriate code paths. For example, when accessing Widows Registry, WoW64 paths must be used if running 32-bit NVDA on 64-bit Windows and vice versa.
At the moment the following can be used to detect 32-bit versus 64-bit Python runtime:
Describe the solution you'd like
Expose a flag informing NVDA of 32-bit versus 64-bit platform. This can be either a boolean (True on 64-bit, False on 32-bit) or a string denoting the platform in use (can be set during NVDA compilation).
Describe alternatives you've considered
Standardize on one or more of the available platform detection options.
Additional context
Creating a flag informing NVDA Core and add-ons about Python runtime in use communicates willingness by NVDA community to take 64-bit transition seriously and can help people with editing code to take advantage of platform differences.
Thanks.
The text was updated successfully, but these errors were encountered: