[nodejs] Re: Announcement: CMake.js - a Node.js/io.js native addon build tool

2015-05-08 Thread Gabor Mezo
I've added Boost support in the meantime: https://github.com/unbornchikken/cmake-js/wiki/TUTORIAL-04-Creating-CMake.js-based-native-modules-with-Boost-dependency . On Monday, April 27, 2015 at 5:03:43 PM UTC+2, Gabor Mezo wrote: > > Hello everyone, > > I've just gathering folks and feedback to m

Re: [nodejs] Node.js Addon - Creating And Returning An Object

2015-05-08 Thread Ben Noordhuis
On Thu, May 7, 2015 at 6:08 AM, Jon Lederman wrote: > I have the following two wrappers listed below. I want the Api method of B > to return an A in javascript. How do I do this? I can’t figure out how to > construct the B class from the A Api method and return it? Any help would > be greatly

Re: [nodejs] Re: How to avoid callback hell?

2015-05-08 Thread Joseph Ellsworth
I love your solution it is similar to what I came up with when talking to elastic search. On Sunday, April 8, 2012 at 6:24:09 PM UTC-7, Matt wrote: > > In that case, you might consider doing something like this: > > function obtainConnection(callback){ > var c = null; > if (c == null){

[nodejs] Re: v8 total heap size of application grows to 1.4 GB while heap usage is only 300 MB

2015-05-08 Thread Vladimir Li
How can I limit it to 512MB for example? I tried --max_old_space_size, but it doesn't work суббота, 29 марта 2014 г., 21:21:08 UTC+6 пользователь Trevor Norris написал: > > V8 allows itself to use up to 1.4 GB of memory, and is very lazy about > compacting it's usage of that memory. This allows