Following my finding #1 posted just now, I got some hints from Jon Aasenden, as a result, I found another more *exciting open source project* -- v8DelphiWrapper, available since Jun 1, 2016, which is a wrapper around Google's V8 JavaScript engine! I immediately spread the words(https://stackoverflow.com/a/47218541/133516), and I think it's worth a new post about it here.

Following my finding #1 posted just now, I got some hints from Jon Aasenden, as a result, I found another more *exciting open source project* -- v8DelphiWrapper, available since Jun 1, 2016, which is a wrapper around Google's V8 JavaScript engine! I immediately spread the words(https://stackoverflow.com/a/47218541/133516), and I think it's worth a new post about it here.
https://github.com/zolagiggszhou/v8delphiwrapper

Comments

  1. Don't forget about SyNode, which is a complete wrapper around SpiderMonkey 52, under Win32, Win64 and Linux64 (via FPC). It is used on production, and SpiderMonkey has the benefit of being more multi-thread friendly than V8. And it is more than a wrapper: it is like Node.js, but rooted on Object Pascal, part of the mORMot framework for data access and services, with multi-threading (whereas Node.js main execution is single threaded). It features full support of ES6, remote debugging, Delphi integration, and is very active. See https://synopse.info/forum/viewtopic.php?pid=21488#p21488 and https://github.com/synopse/mORMot/tree/master/SyNode

    ReplyDelete
  2. A. Bouchez Yes, SyNode is very powerful, and I'm waiting for this example to be filled with some code so that I can test its ES6 support status :D (https://github.com/synopse/mORMot/blob/master/SyNode/Samples/03%20-%20HelloSpiderMonkey52/HelloSpiderMonkey52.dpr)
    github.com - mORMot

    ReplyDelete
  3. Paul TOTH BeRo supports ES5 only, and according to the developer of SyNode, it doesn't have good performance, but the great thing is that it's written in pure Pascal.

    ReplyDelete
  4. A. Bouchez I took a closer look, it seems that from its name I wrongly assumed that the *SpiderMonkey45Binding.dpr* project does not work with SpiderMonkey 52 yet, but it turned out that it *does work* with SpiderMonkey 52, as long as the project has the `SM52` conditional define.

    ReplyDelete

Post a Comment