Using GCC's Nested Functions with Wide Pointers and no Trampolines
Summary
This article investigates GCC's nested functions, focusing on wide pointers and the elimination of trampolines. It discusses ABI challenges, introduces a preliminary GCC patch with built-ins to obtain code and environment pointers, and presents experiments comparing wide pointers, descriptors, and trampoline-based approaches, including performance observations.