Skip to content

ivankra/javascript-zoo

Repository files navigation

JavaScript engines zoo

Contents:

  • engines: list of JavaScript engines
  • parsers: list of JavaScript parsers
  • app: SPA app for zoo.js.org
  • bench: benchmarking different engines on V8's test suite
  • build: docker/make-based build system for open-source engines (base build scripts and containers)
  • conformance: ECMAScript conformance testing

See zoo.js.org for the main tabular view with benchmark and conformance scores, or perhaps engines.json for a machine-readable json with structured data.

Most engines come with a build script. Build and play around with any engine locally (needs docker, podman or Apple's container):

  • cd engines/<name>/ && make
  • cd engines/<name>/ && make sh - explore the build container (build artifacts will be in /dist)
  • DOCKER_ARCH=riscv64 make sh - cross build with qemu (sudo apt install qemu-user-static)
  • REPO=https://... REV=<commit/branch/tag> make - build from a specific commit and/or repo

You can download pre-built binaries from GitHub releases or play with them using this Docker Hub image:

  • docker run -it ivankra/javascript-zoo
  • podman run -it docker.io/ivankra/javascript-zoo
  • container run -it docker.io/ivankra/javascript-zoo

Links