On Thu, Aug 29, 2013 at 12:00 AM, John C <raz...@gmail.com> wrote:
> Last year there was some discussion around MakeCallback in this thread:
> "Speed impact of node::MakeCallback"
> https://groups.google.com/forum/#!msg/nodejs-dev/6kRRYW_5MU0/XQjQn8GHdQQJ.
> It was indicated that MakeCallback would be revisited and possibly removed
> in the near future.  What is the current status of this function?  Which is
> preferred between using MakeCallback and simply using v8::Function::Call?

MakeCallback() has been optimized a great deal in v0.11 and is still
the preferred way to call into JS land.

Using Function::Call() is perfectly okay but you'll need to handle
exceptions yourself and it's not compatible with domains.

> In addition, is there someplace other than this thread I can go for this
> information?  In general I've had a hard time finding much information
> (particularly up-to-date information) about the nuances of creating native
> extensions to Node, other than simply digging through existing code.

We don't really have a centralized place right now with details about
internals.  If you want to write up some notes on the wiki, you have
my blessing.

If you feel the documentation for add-on writers is incomplete or
unclear, we take pull requests. :-)

(Joking aside, great documentation is a community effort.  Leaving it
to core developers to write documentation will likely result in an
info dump full of technical minutiae that still misses critical
details.  When you're working with something on a daily basis, it's
hard to know what others don't know.)

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to