<div dir="ltr"><div>Hi,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jan 22, 2022 at 9:35 PM Ilmari Lauhakangas <<a href="mailto:ilmari.lauhakangas@libreoffice.org">ilmari.lauhakangas@libreoffice.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Indeed, there are engines better suited for embedding, but then the <br>
question becomes how well they keep up with all the new features <br>
introduced into JS standard each year.<br>
<br>
QuickJS[0] appeared on the scene in 2019 and caused a lot of excitement <br>
due to the nice support for new JS features. However, it has remained as <br>
more of a "man throws code over the wall occasionally" type of project.<br>
<br>
Duktape[1] is lagging behind in the latest JS features, but is still <br>
actively developed, is used by many projects[2] and has a very good <br>
Linux packaging coverage[3]. One widely-deployed project currently <br>
adopting Duktape is polkit[4] (moving away from mozjs).<br>
<br></blockquote><div><br></div><div>Probably it is better to invest into integrating a WebAssembly runtime like Wasmer. Not only would we get JS but also support for a bunch of other languages and have support for a platform independent binary execution format.</div><div><br></div><div>Regards, Tomaž<br></div><div> </div></div></div>