See also QuickJS, Fabrice Bellard's js engine: <a href="https://bellard.org/quickjs/" rel="nofollow">https://bellard.org/quickjs/</a><p>(Fabrice also started qemu and ffmpeg, wrote the tiny C compiler and broke world records for calculating pi)
From what I can see [0], the API is somewhat similar to Duktape's [1], which is good. It's an easy to use API, which gives you as much power as you ask for. (And both have slight improvement's over Lua's, in getting rid of overhead for some things.)<p>---<p>Duktape uses the MIT license [2], whereas MuJS has a slightly different license [3] which is much less specific, in fact I'm not entirely certain what the license requires in a legal setting. This particular fragment:<p>> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted<p>Seems to imply paid licenses for MuJS, but doesn't actually seem to require that a paid agreement be followed, providing a sort of legal escape hatch. It is just a quibble, but legal problems tend to come down to arguments over a half dozen words anyway.<p>That being said, I'm assuming MuJS is intended to be used as part of the GhostScript environment at some point, and they might have assumed that the two routes will be Artifex licensing + this other license. (The usual AGPL route they follow would have been my choice.)<p>---<p>[0] <a href="https://mujs.com/examples.html" rel="nofollow">https://mujs.com/examples.html</a><p>[1] <a href="https://duktape.org/api.html" rel="nofollow">https://duktape.org/api.html</a><p>[2] <a href="https://github.com/svaarala/duktape/blob/master/LICENSE.txt" rel="nofollow">https://github.com/svaarala/duktape/blob/master/LICENSE.txt</a><p>[3] <a href="https://mujs.com/license.html" rel="nofollow">https://mujs.com/license.html</a>