Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Native Bindings to node.js - Slides and code for the talk at jsfoo
C++ JavaScript
branch: master
Failed to load latest commit information.
async Dispense with the argument
calljs
firststep Added basic code samples
images Add internal fields image
methods
objectwrap
primitives Demonstrate NODE_DEFINE_CONSTANT
simplefunctions Added simple function example and relevant slides
simpleobject Added simpleobject example
strings Added string conversion example
sync Add synchronous callback example
.gitignore Add PDF to repo so people can download it
Makefile
README.md Added README
notes.txt Final notes
slides.pdf Updated PDF
slides.rst Add async baton code into slides
slides.style

README.md

Build the C link - JSFoo Pune

This is the code and slides for the talk I gave on writing native node.js addons at JSFoo on Jan 21, 2012.

Makefile           - build *all* the code and the slides (using rst2pdf)
async              - example code for async execution
calljs             - calling JS functions from C++
firststep          - basic module template
images             - images used in the slides
methods            - C++ functions as prototype methods
notes.txt          - speaker notes
objectwrap         - Demonstrate ObjectWrap
primitives         - Primitives example
simplefunctions    - Simple JS functions
simpleobject       - JS objects in C++
slides.pdf         - ???
slides.rst         - Sources for the slides
slides.style       - rst2pdf stylesheet
strings            - v8::String to C string to and fro
sync               - example code to compare against async

Copyright

All the code is in the public domain.

The slides and speaker notes (including source material and images) are under the Creative Commons Attribution Share-Alike license which means you may create derivative works, but mention that your work derives from me, by mentioning my name and email address.

If you do find any of this useful, please drop me a line at nsm.nikhil@gmail.com, I'll feel warm and fuzzy inside :)

Something went wrong with that request. Please try again.