miniblog.
← Back to all posts
Aug 23, 2016 at 23:53
It's impressive (& was not obvious to me) how much memory a bytecode interpreter can save!
https://v8project.blogspot.com/2016/08/firing-up-ignition-interpreter.html
Firing up the Ignition interpreter · V8
v8project.blogspot.com/2016/08/firing-up-ignition-interpreter.html
Wilfred Hughes
Related Posts
May 4, 2023 at 06:52
On storing ASTs in flat arrays for performance, and the relationship with bytecode interpreters:
Flattening ASTs (and Other Compiler Data Structures)
This is an introduction to data structure flattening, a special case of arena allocation that is a good fit for programming language implementations. We build a simple interpreter twice, the normal way and the flat way, and show that some fairly mechanical code changes can give you a 2.4× speedup.
Wilfred Hughes
Shared words: bytecode, interpreter Score: 42.4
Feb 7, 2022 at 00:58
Bytecode interpreters vs tree walkers, and beating GNU Awk performance in GoAWK:
Optimizing GoAWK with a bytecode compiler and virtual machine
How I sped up GoAWK by switching from a tree-walking interpreter to a bytecode compiler and virtual machine interpreter.
Wilfred Hughes
Shared words: bytecode, interpreter Score: 42.4
Jul 6, 2019 at 22:12
A really neat idea for LLVM: AST interpreters are slow, so clang's constexpr evaluator is slow. Write a small bytecode interpreter to make constexpr execution scale better!
[cfe-dev] [RFC] ConstExprPreter — clang constexpr interpreter
lists.llvm.org/pipermail/cfe-dev/2019-July/062799.html
Wilfred Hughes
Shared words: bytecode, interpreter Score: 42.4