We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Embedding/Maintaining SpiderMonkey in a large scale project

Formal Metadata

Title
Embedding/Maintaining SpiderMonkey in a large scale project
Title of Series
Number of Parts
611
Author
License
CC Attribution 2.0 Belgium:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language
Production Year2017

Content Metadata

Subject Area
Genre
Abstract
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.