News for hackers. Stuff that matters.
Re:Low.js – Node.js for embedded devices by JohnDotAwesome on Saturday September 15, 2018 @05:52PM (#17996202)
Super cool. I had never heard of Duktape before. Seems like there should be some work making Electron compatible with Duktape to reduce the memory overhead of some of our favorite Electron apps cough VScode cough Slack.

(This is probably a naive comment. I have no idea if this would work the way I assume it would).

Re:Low.js – Node.js for embedded devices by aikah on Sunday September 16, 2018 @12:56AM (#17997372)
Well first Duktape is only a Javascript engine. it is not a browser engine so there is no DOM, furthermore Duktape is not ES2015 compliant so you'd need to transpile your code to ES5. It's also debatable whether Duktape is more performant than v8 or not.

> to reduce the memory overhead of some of our favorite Electron apps cough VScode cough Slack.

are not going to take less memory with Duktape at all if the problem is sloppy programming or DOM related.

Re:Low.js – Node.js for embedded devices by Volt on Sunday September 16, 2018 @12:06AM (#17997260)
JavaScript isn't the problem. Chromium is.
Re:Low.js – Node.js for embedded devices by ricardobeat on Saturday September 15, 2018 @10:06PM (#17996969)
Duktape is just a JS engine. You still need the browser which takes 90% of the space.

The NetSurf browser (https://www.netsurf-browser.org/) uses Duktape itself and might be a good candidate :)

Re:Low.js – Node.js for embedded devices by Matthias247 on Saturday September 15, 2018 @10:23PM (#17997010)
It is naive in th form that it only looks at RAM. However the performance characteristics of duktape and efficient jit-compiling js engines will be completely different. I don’t think people would appreciate sluggish response times more than less ram usage.