Recommendations for JS Engines that could be embedded in my Game Engine

This page summarizes the projects mentioned and recommended in the original post on /r/gamedev

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Ultralight

    Lightweight, high-performance HTML renderer for game and app developers.

  • I have used https://ultralig.ht/, which uses web tech stack to render ui for desktop applications. It can be used in video games, so I assume the js engine has acceptable performance. It is based on webkit though.

  • LuaJIT

    Mirror of the LuaJIT git repository

  • If you absolutely want a performant scripting runtime, I'd recommend taking a look at LuaJit, DaScript or AngelScript.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • quickjs

    Public repository of the QuickJS Javascript Engine.

  • I would recommend using something like duktape or quickJS for simple scripting, and if your game needs to be optimized, bring the routine down to cpp. The advantage of JS is not performance, so if you absolutely require it, you shouldn't focus on it IMHO.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts