2 ms·
We switched from Duktape to QuickJS for https://vcvrack.com/Prototype https://vcvrack.com/Prototype, where performance on x86_64 is a huge concern. Both are inc
by vortico 7y ago
We switched from Duktape to QuickJS for https://vcvrack.com/Prototype https://vcvrack.com/Prototype, where performance on x86_64 is a huge concern. Both are incredibly easy to embed compared to most other scripting language interpreters, but QuickJS required us to fork the project and hack 3-4 features/fixes into its codebase, but after that, it was a drop-in replacement. In our use case, QuickJS was ~2x faster than Duktape for lots of math. We still keep the Duktape implementation up-to-date but disabled as a reference for new script engines, since its API is the easiest to read.