On Saturday, 6 February 2021 at 17:50:18 UTC, frame wrote:
On Saturday, 6 February 2021 at 15:45:47 UTC, rikki cattermole wrote:
Default settings should work out of the box. If not - it's bad for reputation of the language.
Given that 32-bit has been the default on Windows for D's entire lifetime, I don't expect this is so common of an issue. More harmful would be requiring Visual Studio to compile with the default settings.
That said, dub already uses -m64 by default on Windows. And the goal is to enable 64-bit in dmd on Windows by default. That's the reason the MinGW-based link libraries and the LDC linker were added to the distribution, so that it will work out of the box. I don't know what the timetable is supposed to be, but at some point after that is rock solid, the switch to 64-bit by default will be made.
