Minimize GC memory footprint

Siemargl inqnone at gmail.com
Sat Feb 6 19:31:39 UTC 2021


On Saturday, 6 February 2021 at 19:10:14 UTC, Mike Parker wrote:
> 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.

This example seems been as a corner uglyness of AA realisation.

64bit heal a problem, but uses about 500Mb of RAM continuosly for 
this simple example, so its only patching sinkin' ship :-(



More information about the Digitalmars-d-learn mailing list