Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to choose between Node.js and JXcore?

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

JXcore comes with a built-in multithreading support that can be enabled on your existing Node.js applications without additional changes... JXcore multithreading may bring aproximately 30 to 50 percent solid performance advantage over Node.JS cluster module. From http://jxcore.com/

I already tried to install it and it does really work. That's all I can say for now, measuring performance and up-time is tricky and elaborative.

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

like image 679
exebook Avatar asked Oct 02 '14 06:10

exebook


People also ask

Should I learn node js or Python?

Node. js is a better choice if your focus is on web applications and website development. Python is an ideal platform to do multiple things – web applications, integration with back-end applications, numerical computations, machine learning, and network programming.

Should I learn node js or next js?

Node. js provides a very vast framework and includes many libraries to support every need a developer might come across. Next. js enhances the user experience by introducing server-side rendering with a lower threshold for developers.

Is it worth learning node JS in 2021?

Node. js is as relevant as ever and worth learning, especially if you are a JavaScript developer. Being a JavaScript developer gives you a headstart since you already know the language used in Node. Moreover, if you are a Front-end Developer, you can transition and become a Full-stack Developer by learning Node.

Which is easier node JS or PHP?

For most web developers, coding in PHP is a quicker option as it offers easier usability. A good PHP developer can code in the language at a significantly faster speed than with Node. js. This is primarily because there's no need to use converters or compilers.


2 Answers

IMHO, JXcore is beneficial for below use cases;

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

2 - It can be embedded by a Java, Objective-C, C, C++ app.

3 - MT(multithreading) is a winner for an application spends more time on JavaScript land comparing to IO. Otherwise, there is no significant difference. MT works very smooth since I was able to use a node-js proxy-server solution multi-threaded without making any change (jx mt proxy-server)

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

5 - Some of the most popular native modules come built-in with mt support, so you don't bother installing them on a target machine.

6 - Built-in external memory store and sqlite database server. (This one is a life saver on Windows)

I had a problem also. For example, I needed to disable HTTP header byte size check in order make my application running. For some reason they've added extra security checks by default so you may need to update your application a bit.

Update:

JXcore is now an open source project with MIT license.

like image 116
Tomm Hill Avatar answered Oct 16 '22 09:10

Tomm Hill


Active development on JxCore has stopped - see the announcement on the GitHub page

Important Notice: Nubisa halting active development on JXcore platform

Though advantages stated above are there, but they get nullified with the disadvantages of not getting the latest NodeJS support as part of it.

like image 6
arunram Avatar answered Oct 16 '22 08:10

arunram