Is it possible to port the bridge library made on python to javascript? Has anyone done this?
I want to do a node.js server and transfer data to arduino using bridge.put, bridge.get and that stuff.
Is it possible to port the bridge library made on python to javascript? Has anyone done this?
I want to do a node.js server and transfer data to arduino using bridge.put, bridge.get and that stuff.
Full-stack Node.js is just too much for the Yun (AR9331/64MB), and that all that can be done are only very simple scripts.
http://stackoverflow.com/questions/9613528/node-js-with-v8-suitable-for-limited-memory-device
The new wifiSoC supports far more RAM than Yun. waiting for Yun II?
Make Full-stack Node.js smooth running 128 MB RAM is needed.
I guess I'll just call python scripts from node server to pass data to bridge.
Edit: I'd better stick to python and bottle web framework
Plan B:
The Programming Language Lua, it has far less foot print and runs faster than Python.
Plan C:
Go, also commonly referred to as golang, is a programming language developed at Google. It is a statically-typed language with syntax loosely derived from that of C, adding garbage collection, type safety, some dynamic-typing capabilities, additional built-in types such as variable-length arrays and key-value maps, and a large standard library.
It is ported into openwrt…