Feature: Compile to a custom bytecode VM #17
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: j/Conlang#17
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feature Progress
Feature description
Currently, the AST interpreter has to follow dozens of pointer indirections just to execute a single operation. Having a language VM will allow Conlang to run considerably faster, assuming the eventual implementation doesn't thrash the heap or cache too badly.
Might be fun to model the VM off a real RISC architecture.
Example