#1 2018-03-01 10:29:36

keinn
Member
Registered: 2014-10-20
Posts: 100

TipInfo:lightweight, embedd cross-platform js engine with delphi

Looking to add JavaScript capabilities to you app, but without the bulk and overhead of JIT engines like V8, SpiderMonkey and Chakra? Then take a look at Duktape.

Duktape is a lightweight, embeddable and cross-platform JavaScript engine. It fits into a DLL just over half a megabyte in size but supports the complete ECMAScript 5.1 specification (as well as parts of ECMAScript 2015 and 2016).

https://blog.grijjy.com/2018/02/28/java … or-delphi/

https://github.com/svaarala/duktape

Offline

#2 2018-03-01 19:05:54

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,206
Website

Re: TipInfo:lightweight, embedd cross-platform js engine with delphi

May be used as a toy JS engine, but its feature set is far behind the alternatives.
If you need something light, https://github.com/BeRo1985/besen is the best, since it is a great pure pascal engine, with no dll.
If you need simple scripting, DWS or PascalScript are IMHO a better approach.

Offline

Board footer

Powered by FluxBB