News for hackers. Stuff that matters.
Re:Moving towards a faster web by shantly on Monday November 11, 2019 @05:55PM (#21509809)
Memory size is a problem, too. Even a small amount of Javascript can allocate a ton of memory. I'd love to see a more memory-efficient language replace JS, then a reasonable but lowish memory limit put in place. Say, 8MB, which still seems generous to me.

The only trouble is you'd have to find some way to keep developers from using the DOM as extra memory. But the capabilities of Web scripting languages, outside perhaps some very strict and explicitly enabled on a case-by-case basis sandbox, really ought to be limited more anyway.

Re:Moving towards a faster web by icebraining on Tuesday November 12, 2019 @05:53AM (#21513136)
JS is not necessarily heavy. For example, the Espruino is a platform running JS on microcontrollers with less than 100KB of RAM: https://www.espruino.com/