What opcode dispatch strategies are used in efficient interpreters?

后端 未结 8 1586
花落未央
花落未央 2020-12-29 13:27

What techniques promote efficient opcode dispatch to make a fast interpreter? Are there some techniques that only work well on modern hardware and others that don\'t work we

8条回答
  •  情歌与酒
    2020-12-29 14:04

    Befor you start anything, check Lua.

    It's small (150Kb), pure ANSI C, works on anything having C compiler. Very fast.

    And most important - source code is clean and readable. Worth checking out.

提交回复
热议问题