News for hackers. Stuff that matters.
Re:JSI: small JavaScript interpreter in pure C suitable for ... by pavlov on Tuesday August 04, 2015 @05:36AM (#10002384)
There's also Samsung's new JavaScript engine "JerryScript":

http://samsung.github.io/jerryscript/

It is truly tiny:

* Can work in less than 64kB RAM

* Doesn't need a full-blown operating system because necessary runtime components (such as libc functions) are provided by JerryScript itself

Re:JSI: small JavaScript interpreter in pure C suitable for ... by andrewchambers on Tuesday August 04, 2015 @02:12AM (#10001933)
I think duktape is great http://duktape.org/.

I ran into some issues when trying to use clojurescript with it though.

Re:JSI: small JavaScript interpreter in pure C suitable for ... by dvh on Tuesday August 04, 2015 @06:00AM (#10002450)
http://mujs.com/ - MuJS is a lightweight Javascript interpreter designed for embedding in other software to extend them with scripting capabilities. It is written in portable C and implements ECMAScript as specified by ECMA-262.
Re:JSI: small JavaScript interpreter in pure C suitable for ... by fortytw2 on Tuesday August 04, 2015 @08:14AM (#10002841)
AGPLv3 licensed? Not really usable for embedding in software..
Re:JSI: small JavaScript interpreter in pure C suitable for ... by abetusk on Tuesday August 04, 2015 @08:39AM (#10002955)
Why not?
Re:JSI: small JavaScript interpreter in pure C suitable for ... by fortytw2 on Tuesday August 04, 2015 @10:35AM (#10003613)
Because your embedded software has to be AGPLv3 licensed as well, a deal breaker for many people, myself included.
Re:JSI: small JavaScript interpreter in pure C suitable for ... by abetusk on Tuesday August 04, 2015 @05:51PM (#10006514)
For this use case, AGPLv3 is likely no more restrictive than the GPL.
Re:JSI: small JavaScript interpreter in pure C suitable for ... by buserror on Tuesday August 04, 2015 @07:59AM (#10002794)
Now that LuaJIT future is getting a bit hazy, it migth be time to consider switching over to a small JS for embedding.

For many. many years I used spidermonkey from mozilla (and it's descendants), but it's no longer small at all, the footprint is pretty big nowadays.

Re:JSI: small JavaScript interpreter in pure C suitable for ... by pedalpete on Tuesday August 04, 2015 @01:57AM (#10001901)
This looks really interesting, though the last update was over a year ago. I"m curious, would it be more efficient to use JSI instead of Node on embedded platforms? Or is there another purpose it serves?
Re:JSI: small JavaScript interpreter in pure C suitable for ... by TheCams on Tuesday August 04, 2015 @06:28AM (#10002525)
Anyone used one of these as a scripting system for a game engine? I'm still wondering if I should use duktape/MuJS or simply LUA.