alloca is slow and dangerous

Iain Buclaw ibuclaw at gdcproject.org
Mon Jan 4 17:46:26 UTC 2021


On Monday, 4 January 2021 at 15:02:32 UTC, Steven Schveighoffer 
wrote:
> Are there other compilers or platforms that work with D besides 
> DMD, LDC, and GDC? Are there some GDC or LDC platforms that 
> don't support alloca? If so, it's possible that some don't 
> support it. But it's not versioned that way in the code.
>

There's no such thing as a platform that doesn't support alloca 
as far as I'm aware.  As for C compilers that don't support 
alloca, they are niche and few.



More information about the Digitalmars-d mailing list