logoalt Hacker News

Using GCC's Nested Functions with Wide Pointers and No Trampolines II

103 points • by uecker • 08/15/2026 • 47 comments • view on HN

Comments

mbeavitt • 08/15/2026

Why would someone want to use a nested function, practically speaking?

➕ show 9 replies
mananaysiempre • 08/15/2026

What about your older patch where -fno-trampolines meant a function pointer could either be a code pointer or a closure (descriptor) pointer, distinguished by a tag?

➕ show 1 reply
tpoacher • 08/15/2026

What's a "trampoline"?

➕ show 4 replies