NodeJS on WLAN Router (DD-WRT, OpenWRT, FreeWRT)?

1,457 views
Skip to first unread message

tiefenb

unread,
May 15, 2012, 4:04:48 AM5/15/12
to nodejs
Hello,

Would it be possible, to install NodeJS on a router?

Maybe on a http://www.dd-wrt.com, https://openwrt.org, http://www.freewrt.org
or one of these systems: http://en.wikipedia.org/wiki/List_of_router_or_firewall_distributions

Pitt Mak

unread,
May 16, 2012, 9:42:16 AM5/16/12
to nod...@googlegroups.com
That is really depended on the OS of your router.

Markus Tiefenbacher於 2012年5月15日星期二UTC+8下午4時04分48秒寫道:

Tim Caswell

unread,
May 16, 2012, 10:12:11 AM5/16/12
to nod...@googlegroups.com
Look at the architecture of the router and the memory constraints.  On most architectures a node process starts around 10mb of ram.  I know v8 builds on linux on i686, x64, and most arm variants.  There is some mips support as well.

Depending on what you're trying to do, raw libuv with C may be better.  It has fewer requirements and uses a lot less memory.  The API is somewhat close to node's since it provides most of nodes system primitives.  Also I made lua bindings for libuv (luvit.io) that expose a node-like API.  The lua vm is slimmer than v8, but still much more bloated than just using C.

--
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 nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply all
Reply to author
Forward
0 new messages