/Closures

[DISCONTINUED] Various implementations of closures using (relatively) low-level languages

Primary LanguageLLVM

Closures

Closures implementations with low-level languages

Examples cover implementations of closures using:

  • trampolines in LLVM
  • fat-pointers in C
  • objects in C
  • thunks in C

I'm not using C++ for objects in this example, because point of this example is to make complexity and overhead visible.

Future plans for extensions of this example include benchmarks and implementations for reference counted closures.