embeddednodejs / embeddednodejs.github.io

Repository for book website
http://embeddednodejs.com
30 stars 9 forks source link

Add OpenWRT, Thali, JXcore #7

Closed obastemur closed 8 years ago

obastemur commented 8 years ago

Adding list of related links given below:

embeddednodejs commented 8 years ago

Thanks for the links. I had heard of JXCore before.

When I remember correctly, the project tries to run JavaScript directly on an embedded operating system, like Android or iOS?

A while back, I was playing with a board that was running Android: http://riotboard.org/

Any chance to have some more how-to's on how JXCore can run on maker boards, e.g. RaspberryPi or that RiotBoard?

obastemur commented 8 years ago

Thanks for this very useful list!

Binaries are available for both RiotBoard (Android ARM), and RaspberryPi (Debian - ARM) http://jxcore.com/downloads/

embeddednodejs commented 8 years ago

Ok, then to understand better: JXCore does not aim to replace the OS layer, but is built on top of that. The Node.js runtime has around 50MB to get e.g. a basic web server going. Does JXCore aim to replace the Node.js runtime on embedded systems, because it is smaller/more optimized towards embedded Linux?

embeddednodejs commented 8 years ago

PS the links will be on the site when I have time for the next build and release of the site. Probably some time tonight.

obastemur commented 8 years ago

Ok, then to understand better: JXCore does not aim to replace the OS layer, but is built on top of that. The Node.js runtime has around 50MB to get e.g. a basic web server going. Does JXCore aim to replace the Node.js runtime on embedded systems, because it is smaller/more optimized towards embedded Linux?

Indeed, using JXcore It's not a problem to host a fully functional chat server on an OpenWRT powered WiFi router with 16Mb memory. Current aim is to reach below 1Mb (add another JS engine, replace openssl etc.)

AFAIK node.js never been there hence JXcore is not replacing anything. JXcore makes it possible to run node apps on wide range of devices and platforms.

Upcoming 0.3.1.0 release also supports Win10 IoT.

PS the links will be on the site when I have time for the next build and release of the site. Probably some time tonight.

Sounds great and thanks for your support

embeddednodejs commented 8 years ago

to host a fully functional chat server on an OpenWRT powered WiFi router with 16Mb memory. Current aim is to reach below 1Mb (add another JS engine, replace openssl etc.)

Thanks. That sounds nice for e.g. a multimedia server to serve photos to a TV, and have other devices act as user agents. I'll give that a try when I have time. Also, I'll check if I can get it running on some embedded board. I guess: http://jxcore.com/multithreaded-javascript-tasks/#post-1091 shows the main ideas of running a web server.

obastemur commented 8 years ago

I guess: http://jxcore.com/multithreaded-javascript-tasks/#post-1091 shows the main ideas of running a web server.

Nothing special is needed. You must be able to run any node.js apps as is.

mulderp commented 8 years ago

This is great. I am running JXcore on a Galileo now, and it works great.

I downloaded this:

Debian ia32 (V8) 4.38 MB Download 7b397c9dca525ab8adcb1e019621df1c52ce32ec