alloca is slow and dangerous

Jacob Carlborg doob at me.com
Wed Jan 6 16:08:11 UTC 2021


On 2021-01-04 20:38, Johan wrote:

> there are platforms that do not use a "stack" in the 
> common interpretation of the word to execute a D program.
> Examples: Webassembly, an executable running with ASan's FakeStack 
> enabled, a binary running in an emulator, ...

You can always implement a stack on the heap ;)

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list