LWN.net Logo

GNOME debates Javascript bindings

GNOME debates Javascript bindings

Posted May 28, 2009 9:20 UTC (Thu) by tdz (subscriber, #58733)
In reply to: GNOME debates Javascript bindings by elanthis
Parent article: GNOME debates Javascript bindings

I write a little graphics renderer as a hobbyist project. Its design is quite similar to Emacs. It is build around a core binary and use JavaScript for scripting.

The fact that there are several independent implementations of JavaScript was one of the reasons I choose it in the first place. So that if one implementation is ever becoming obsolete, I could switch easily; or at least without rewriting all scripts in another language.

As someone else wrote, SpiderMonkey's API is really no beauty. But it is well documented and a lot of people know JavaScript. So getting JS-related knowledge from experienced programmers isn't that hard.

Lua failed in these regards. When I was looking for scripting language, it was on the table but I dismissed it because of the small documentation (compared to JS) and the missing "backup implementation".

Best regards, Thomas


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds