Puzzled by this behavior
deadalnix
deadalnix at gmail.com
Fri Jun 3 16:28:47 UTC 2022
On Friday, 3 June 2022 at 14:46:29 UTC, Iain Buclaw wrote:
> On Wednesday, 1 June 2022 at 00:17:50 UTC, Timon Gehr wrote:
>>
>> There are local functions in C?
>
> [Yes](https://gcc.gnu.org/onlinedocs/gcc-12.1.0/gcc/Nested-Functions.html#Nested-Functions).
Indeed, both GCC and clang implement this, but it's non standard.
The way it is implemented is really interesting, as it doesn't
generate delegate, but proper function pointers with JITted
trampolines.
More information about the Digitalmars-d
mailing list