Live data from Hacker News

MuJS: an embeddable JavaScript interpreter

mujs.com

1–10 of 57 posts

Re: MuJS: an embeddable JavaScript interpreter

#6

So I guess this is slower than JavaScriptCore and you have to get commercial license to actually embed it. Why would one choose it at all?

From the linked site:

"Why? Because V8, SpiderMonkey and JavaScriptCore are all too big and complex. MuJS's focus is on small size, correctness and simplicity."

Re: MuJS: an embeddable JavaScript interpreter

#9
post #7

How does it compare with duktape: http://duktape.org/ ?

I was wondering the same. It's nice having an alternative though. I consider there to be two C embeddable Javascript interpreters, Duktape and MuJS now. V8 and Spidermonkey are great, but they are not acceptable for small projects where a simple scripting language to extend functionality is needed.

Re: MuJS: an embeddable JavaScript interpreter

#10
I see hate for the licensing model they chose. But think of it this way: who is their target audience? Who would want a small, embeddable JS engine? I think they're targeting businesses who want to deploy node.js code on micro to small devices. Routers, NASes, that sort of thing.

In that light, it's great they even decided to publish the source under AGPL at all. They could just as well have kept it "all rights reserved".

Post reply on HN