Since the last update on December 13th, multiple enhancements have been made, So far I'm happy! Major changes and improvements: The major performance issue in the tests have been found, when many overloads are added, the engine goes over all of them to find the most suitable one, this takes time and CPU. The first part that needs optimization is probably the determineType function. make_param added overloads and template type specialization for multiple types, which makes the overload creation simpler and more robust. Automatic async function implementation is now simple and straight forward, as long...
Saturday, December 24, 2016
Monday, December 19, 2016
Node js Addon Logger Module
One of the issues I'm attempting to solve while programming node js addons is logging. I've looked for solutions for some time but there's no way to communicate to v8 the addon's internal logs. so I'm left with a few options which are not completely satisfactory. Dump the logs to console I can dump the logs to the console but how do I redirect them to a file? if I redirect the entire stderr or stdout, I'll have irrelevant log entries in my log and trying to split them by module name could be...
Tags: addon, logging, node js
Tuesday, December 13, 2016
Node js C++ Addon Overload Resolution - Refactor & Add C++ Type Converter
Remember node-overload-resolution ? I've been working on it for a while to see how I can support automatic async support. I always believed if you can work a little harder to save a lot of time later, its most likely going to pay off, one of the biggest motivation to write the node-overload-resolution project was to easily convert C++ libraries to Node js without changing the API too much. One of the major roadblocks in the last version of node-overload-resolution to this goal is that v8 objects are not accessible through any other thread...
Tags: async, node js, node-overload-resolution, templates, v8
Subscribe to:
Posts (Atom)