4 ms·
I quite like Duktape because it is really simple to embed as well. The V8 API is comparitively pretty complicated.
by bpye 8y ago
I quite like Duktape because it is really simple to embed as well. The V8 API is comparitively pretty complicated.
- CamperBob2 8y agoI'd like to check that out. Unfortunately, like other projects that idiotically adopt a generic name that can't be Googled without returning an endless swamp of irrelevant results, I can't seem to find any info on "duct tape" as it relates to JavaScript interpreters. Any good pointers? 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.
- jjnoakes 8y agoGoogle duktape, not duct tape.
- bpye 8y agoFor anyone that is interested, duktape ( https://www.duktape.org/ https://www.duktape.org/ ). The API docs are at https://www.duktape.org/api.html 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.
- CamperBob2 8y agoThanks, that was the trick I was missing. Will have a look.