Friday 7 April 2017

How is NodeJS async function calls different from native threads implemented using C++ (say using Qt5)?

I was wondering how would the performance vary for an event-driven application in following two implementations:Using Node, where events are handled by callbacks, and the language is built with concurrency in mind from ground-up.Making a GUI application using Qt5, where callbacks are connected using signal and slot mechanism. This is more tedious than the previous one but is widely used. I might use a thread pool of workers and a queue of tasks.How and why would the performance vary in either?

Submitted April 07, 2017 at 06:04PM by himanshub16

No comments:

Post a Comment