3 ms·
Well, these things were discussed in previous articles the previous one is linked at the very top. This one explains how you can avoid the use of trampolines i
by uecker 24d ago
Well, these things were discussed in previous articles the previous one is linked at the very top.
This one explains how you can avoid the use of trampolines in GCC 17: https://uecker.codeberg.page/2026-07-14.html https://uecker.codeberg.page/2026-07-14.html
The documentation is here: https://gcc.gnu.org/onlinedocs/gcc/Constructing-Calls.html https://gcc.gnu.org/onlinedocs/gcc/Constructing-Calls.html
There are many language features can be rewritten by hand into other simpler forms, you could rewrite loops into gotos, C++ objects into structures, etc. This does not show that those things are not useful. But the point of the article was not to show why nested functions are useful, for which I would certainly have used more interesting examples.