I once got node v4 compiled and running on an ARMv4 chipset [ docs here: https://gist.github.com/1574158 ] and I learned that:
- I couldn't compile node on the device itself (not enough ram, and it would have taken days with the onboard CPU). Cross compiling was necessary - Node itself took about ~10mb to start, depending on how complex your application is - I needed to mount a USB drive as swap space because to handle spikes - The networking hardware on my board was kind of flaky, and I would receive some 'socket has gone away' messages (not exactly the error), so I needed some retry statements on my server However, once I had all this sorted out, node ran great for a number of months On Monday, September 17, 2012 8:28:28 PM UTC-7, Tim Caswell wrote: > > Yes, you can most likely get node on there but there won't be much left at > all. I created a lua version of node for exactly cases like this at > luvit.io. It's an order of magnitude more efficient on both ram and disk > space with comparable performance and semantics, but at the cost of a much > less mature platform. > On Sep 17, 2012 2:48 AM, "Ben Noordhuis" <[email protected]<javascript:>> > wrote: > >> On Mon, Sep 17, 2012 at 7:56 AM, Shiplu <[email protected] <javascript:>> >> wrote: >> > I am creating a chat application which will run on embedded device. It >> > has only 8MB flash memory and 16Mb RAM. Processor is ARM6. >> > Is it possible to run nodejs application there? The application will >> > be Ajax based heavy RIA application. It'll be heavy on client side. >> > But not on server side. >> > I googled many times but didn't find any clue about it. I am aware V8 >> > can be compiled in to ARM. Not sure if its support all the ARM >> > processors. To run node I must have V8 compiled and then node js >> > should be compiled too. >> > >> > If anyone has experience on this please share how its done and what >> > are the common issues. >> >> You can compile node.js and V8 for ARMv6 (the binary will actually be >> ARMv5 compatible) but 16 MB is probably not enough to do anything >> useful. >> >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected]<javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
