Optimising interpreters: fusion
Preface The model task World’s simplest interpreter Base node and constants Arithmetic, comparison and conditional execution Functions, calls, return statements and argument access What about the context? Calling it done Basic optimization Going deeper Simplifying calls What about clang? Drawing the rest of the eval Conclusion Appendix: methodology of benchmarks Preface Let me start with making an assumption that everyone has at some point in their life encountered a humble tree-walking interpreter.
Of Rabbits and Holes