Skip to content
Search

ChowJS

lastmod 2021-09-25created 2021-09-253 edits

ChowJS - an AOT JavaScript engine for game consoles (mp2.dk)

Features

  • AOT : Ahead-Of-Time
  • Targets game consoles: develop a game in JavaScript, then compile it ahead of time and distribute it together with the runtime
    • Based on QuickJS
    • Supports modern JS up to ES2020
    • Supports PC, Mobile, Console
    • Provides a subset of the NW.js runtime environment
    • The AOT compiler uses SSA IR to generate fast machine code
    • Implements inline caching
    • Uses a reference-counting GC
  • 3.23x faster than the V8 interpreter
    • What ran at under 30FPS on V8 can now reach 60FPS
  • The only other known production-grade AOT engine so far is Hermes, developed by Facebook
    • It is for ReactNative and generates ByteCode, not machine code

See also

Favorite site

author Zer0 sitemap