How to choose between Node.js and JXcore?

JXcore seems to be improved by Node.js. Check out this carefully designed quote:

JXcore comes with built-in multithreading support, which can be included in existing Node.js applications without additional changes ... JXcore multithreading can bring about 30-50% reliable advantage over the Node.JS cluster module. From http://jxcore.com/

I already tried to install it and it really works. What I can say now, measure productivity and time, is complex and thoughtful.

So are there any real advantages to switching to JXcore and how to make a decision?

+8
javascript multithreading jxcore
source share
3 answers

IMHO, JXcore is useful for using below,

1 - JXcore works on mobile phones (iOS, Android ..)

2 - It can be embedded in Java, Objective-C, C, C ++.

3 - MT (multithreading) is a winner for an application that spends more time on JavaScript land compared to IO. Otherwise, there are no significant differences. MT works very smoothly since I was able to use the multi-threaded node-js proxy solution without any changes (jx mt proxy-server)

4 - Packaging and compilation. ( https://github.com/jxcore/jxcore/blob/master/doc/HOW_TO_COMPILE.md )

5 - Some of the most popular built-in modules are built-in with mt support, so you won’t install them on the target machine.

6 - Built-in external storage and sqlite database server. (This is one of the lives on Windows)

I had a problem too. For example, I needed to disable the HTTP header byte size check to make my application work. For some reason, they have added additional security checks by default, so you may need to update the application a bit.

Update:

JXcore is now an open source project with a MIT license.

+8
source share

Active development on JxCore is stopped - http://www.nubisa.com/nubisa-halting-active-development-on-jxcore-platform/ . Although there are advantages mentioned above, they are discarded with the disadvantages that they do not receive the latest NodeJS support as part of this.

+5
source share

I use JXCore to run Javascript from native Java on Android. It can also be called from a background service such as SyncAdapter. This way you can download the JS code remotely and run it in the background. which is very nontrivial to do at home and can be achieved using JXCore. take a look at this sample: https://github.com/capriza/jxcore-android-sample

0
source share

All Articles