How to choose between Node.js and JXcore?

前端 未结 3 1030
别那么骄傲
别那么骄傲 2021-01-02 05:10

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

3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-02 05:47

    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.

提交回复
热议问题