Re:Vcc – The Vulkan Clang Compiler
by zozbot234 on Wednesday January 10, 2024 @09:36AM
(#38939385)
Strictly speaking, a stack is only needed for reentrant calls. Function pointers can be implemented via defunctionalization in a whole-program context (i.e. there is a single 'eval' function taking a variant record as an argument, and each case in the variant record marks some function implementation to dispatch to and the corresponding arguments).
[ Parent
| on HN ]
There are no comments on this comment yet.