Skip to content

Investigate usage of bytecode interpreter #11328

@JaroslavTulach

Description

@JaroslavTulach

Truffle is moving towards byte code interpreters. It would help Enso as well for example to:

  • eliminate deep stacktraces in the interpreter
  • have a standard format of .ir caches

Goal: Investigate what it would take to use bytecode interpreter in Enso.

Opportunity

Generating the bytecode is going to be something completely different than working with AST nodes. It is a great opportunity to remove the need of IR and (also) move towards incremental compilation. Let's generate the bytecode directly from Tree and avoid using IR all together. Of course, to make that happen we need to align the Tree and IR to have similar structure. @kazcw's work like:

is thus quite important in the bytecode interpreter effort.

Metadata

Metadata

Type

No type

Projects

Status

❓New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions