Hacker News new | ask | show | jobs
by saagarjha 2781 days ago
> the problem that there's no way to obtain untyped space on the stack (Q75)

As in a standard alloca?

1 comments

Fun fact: alloca is neither in (any) C standard or POSIX. It is just a very old extension, implemented in many compilers with somewhat compatible, under specified semantics.
I am aware of that, which is why I said “a standard alloca” instead of “the standard alloca”. I’m asking if they’re proposing adding a version of alloca to the standard.
Very old indeed, Turbo C 2.0 for MS-DOS already had it.

Not sure about the Small C dialect from early 80's.