Study note
musttail and efficient interpreters
Properties
- Type
- Blogs
- Status
- 待读
- Domain
- Compilers / PL
- Category
- 解释器、虚拟机与语言实现
- Source
- blog.reverberate.org
- Vault note
library/articles/compilers/musttail-and-efficient-interpreters-37a42d6b88e19534.md
Summary
Josh Haberman 讨论如何用 Clang/LLVM 的 `musttail` 和 tail call 思路构造高效解释器分发,并以 Protobuf 解析器/解释器为背景分析 dispatch、栈帧和编译器保证。
Highlights
适合和 computed goto 对照阅读,理解 threaded interpreter、tail-call interpreter 和编译器后端约束之间的关系。
Notes
tail call / 解释器
Comments
Loading comments...