Skip to content

Conversation

@Tawank
Copy link
Member

@Tawank Tawank commented Apr 1, 2025

The Duktape JS engine hasn't been updated since 2017 and only supports JS syntax from 2015.

I'll be testing QuickJS to see if we can switch to it. It is actively maintained, supports newer JS syntax, and benchmarks show it's 2x faster than Duktape.

Maybe we'll finally be able to run an NES emulator on the JS interpreter in ESP32.

Proposed Changes

  • Change the Javascript engine to quickjs from duktape

Types of Changes

Bugfix, New Feature

User-Facing Change

- Faster JS interpreter
- Added async/await, Promises, setTimeout itd.
- Added new ES6 syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant