Curious: Could LLVM be used for Infocom z-machine code, and if so how? (in general)

Posted by jonhendry2 on Stack Overflow See other posts from Stack Overflow or by jonhendry2
Published on 2010-04-17T21:17:16Z Indexed on 2010/04/17 21:23 UTC
Read the original article Hit count: 229

Filed under:

Forgive me if this is a silly question, but I'm wondering if/how LLVM could be used to obtain a higher performance Z-Machine VM for interactive fiction. (If it could be used, I'm just looking for some high-level ideas or suggestions, not a detailed solution.)

It might seem odd to desire higher performance for a circa-1978 technology, but apparently Z-Machine games produced by the modern Inform 7 IDE can have performance issues due to the huge number of rules that need to be evaluated with each turn.

Thanks!

FYI: The Z-machine architecture was reverse-engineered by Graham Nelson and is documented at http://www.inform-fiction.org/zmachine/standards/z1point0/overview.html

© Stack Overflow or respective owner

Related posts about llvm