The main benefit of SpiderMonkey, IIRC, is that it is much more multi-thread friendly than V8.
SyNode maintains one SM execution engine per thread, and it is very stable and efficient if you don't share variables between threads, which is likely the case to call mORMot code - which is thread safe by design.
This multi-threading ability of processing incoming REST requests is one killer feature in comparison to Node.js, which supports only code-level threading using worker threads.
If you want to run JavaScript logic on server side, with the power of mORMot database and http server, check https://unitybase.info/
It features mORMot SynDB+REST core, with SyNode/SpiderMonkey on the top, some web UI tools, and an amazing list of JS modules ready to be used.
IMHO it may be a Node killer.
Alternatives:
https://github.com/Coldzer0/QuickJS-Pascal (based on a famous lightweight engine by a famous open source rockstar)
and
https://github.com/tondrej/chakracore-delphi (based on chakracore which Microsoft no longer enhances)
]]>Can anyone comment on the position of this product?
]]>There is no documentation and no examples; the help through the forum is scarce.
I'd like to give it a try, but looking at all that I'd not dare integrating this in my product
Please, tell me I'm wrong
]]>