Jan 2012
16 Mon
17 Tue
18 Wed
19 Thu
20 Fri
21 Sat 10:00 AM – 04:30 PM IST
22 Sun
Jan 2012
16 Mon
17 Tue
18 Wed
19 Thu
20 Fri
21 Sat 10:00 AM – 04:30 PM IST
22 Sun
Nikhil Marathe
Participants should have enough knowledge of V8 embedding to be able to write JavaScript bindings to their native libraries.
node.js is quickly becoming a great server-side platform. Similarly JavaScript is being used as a ‘scripting language’ in programs like CouchDB. Many services require access to native APIs (streaming protocols, extracting file meta-data, graphics). This requires a binding to be written from C/C++ to JS using facilities provided by the JavaScript engine so that JavaScript can access these APIs.
This talk will introduce writing bindings to C/C++ libraries using the V8 engine. Common idioms will be explained.
Participants should know both JavaScript and C++ with basic knowledge of UNIX/Linux
Nikhil Marathe has been experimenting with node.js since the year it came out. In his experiments he has written bindings to libface - a face detection library - demoed at Mugshot. His bindings to TagLib are being used by AudioBox2 to extract meta-data from uploaded audio files.
He has previously talked about bindings in QtScript (from Qt to JavaScript) at conf.kde.in 2011. Nikhil was a Google Summer of Code Student in 2010, and worked as an intern at Mozilla Corp in 2011 (working on the SpiderMonkey engine).
He is a final year student at DA-IICT, where he usually plays a lot of sports, goes on walking binges, and finds time to inject some fun into people’s lives.
http://www.slideshare.net/nsm.nikhil/writing-native-bindings-to-nodejs-in-c
Jan 2012
16 Mon
17 Tue
18 Wed
19 Thu
20 Fri
21 Sat 10:00 AM – 04:30 PM IST
22 Sun
Hosted by
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}