6 ms·
JS is wanted unlimited memory consumption in the language specs. JS is good, but impossible for low-memory tasks.
by d08ble 10y ago
JS is wanted unlimited memory consumption in the language specs. JS is good, but impossible for low-memory tasks.
- CharlesW 10y agoIt depends on your definition of "low-memory". The Kinoma XS JavaScript ES6 runtime[1] is designed specifically for low memory/CPU limited embedded devices, and runs very comfortably on 200 MHz ARM devices with 512 KB RAM. [1] http://kinoma.com/develop/documentation/technotes/introducing-the-kinomajs-open-source-implementation/ http://kinoma.com/develop/documentation/technotes/introducin...
- titzer 10y agoLooks like that is ES5 only.
- CharlesW 10y agoIt currently scores 96.8% on the ES6 Compatibility Table hosted by kangax[1], which is pretty good. That's native, no polyfills or transpiler. EDIT: Kinoma claims ES6 compatibility is at 98% as of 2016-01-02.[2] [1] https://kangax.github.io/compat-table/es6/ https://kangax.github.io/compat-table/es6/ [2] http://www.kinoma.com/develop/documentation/js6/ http://www.kinoma.com/develop/documentation/js6/
- tracker1 10y agoI've run node tasks that run in pretty low memory... when processing streams I'll often use the command-line option to expose gc, and force it after each item... runs very light that way.