I have to say, Ducktape looks like it might have superior resource usage for very low memory situations.
I have to say, Ducktape looks like it might have superior resource usage for very low memory situations.
Don't forget Moddable's XS, which does more with even less and just shipped ECMAScript 2019 (ES10) support.
I believe people in the community also have a ChakraCore fork specifically made for using Node on iOS.
Hence I wonder if we can split ignition off v8 to create a standalone fast JavaScript interpreter at the cost of (possibly) more memory consumptions than duktape, that could prove to be useful in many scenarios.
The use case in question: a few years ago I embedded V8 in a Win32 app with a single .DLL and header file, but V8 has exploded in complexity since then and no longer appears suitable for lightweight applications, meaning anything smaller than a full-fledged Web browser. I need to upgrade that interpreter at some point, so I'm definitely in the market for something comparable to what V8 used to be.
Kind of unfortunate, but I'm hardly the user the V8 team has in mind.
The API docs are at https://www.duktape.org/api.html , it's a C API and it's pretty easy to work with and bind native code. I kinda wish that more JIT compiled languages had an API as nice as LuaJIT.