Embedding/Maintaining SpiderMonkey in a large scale project
628 views · Published 10 March 2018 · 22:01 · Indexed 20 November 2026
Channel: FOSDEM · 2018 · Science & Technology
by Nicolas Trani At: FOSDEM 2017 Mozilla's SpiderMonkey library can be used to embed JavaScript in any C++projects. It is quite easy to expose some simple bindings and get a "helloworld" application running in no-time. However, after this first hello world, you'll quickly notice that you'll needother features such as timer, networking, file access, threading or evengraphics and audio. At this point things get much more complicated, andmaintaning the bindings can quickly become overwhelming. Our team has been creating such bindings for SpiderMonkey since 2007 inseveral projects and this talk will present best practices, tips and caveatsthat we have learned over the years. We will also see how to make embedderslife easier by using nidium library that bundles many basic bindings, in thehope that more developers can use the power of SpiderMonkey in a convienientway. Room: UD2.218A Scheduled start: 2017-02-04 13:30:00