I apologize if this is not the correct place to post this question or if it is similar to questions asked before.
I am doing some research into how to put a web interface on a C++ project I want to start. I came across Node.js and checked out a few of the addons using the V8 engine.
My idea is to route business logic (DB(sqlite), CRM, CMS, etc) to the C++ backend and handle stuff like websocket connections, form validations, etc. within Node.
JXcore has very appealing specs on paper so I am very interested in trying it out, but I am unsure about how my addon will be affected seeing that JXcore has a future objective to move from V8 to LLVM. Hopefully there will be options available to bridge JS with C++.
So, based on the above, I have the following options available:
- do everything in Node (no C++ addon)
- use JXcore or Node and c++ addon without multithreading
- use JXcore or Node and implement multithreading in my C++ addon using libuv for instance
- do everything in JXcore (no C++ addon)
Which one of the options above would be the better route to go with in regards to performance, in your opinion? I would also appreciate any alternative options to the above.