News for hackers. Stuff that matters.
Re:LLJS: Low-Level JavaScript by djhworld on Tuesday October 09, 2012 @08:35AM (#4631136)
Nice.

  For now, we allocate one large chunk of memory 32 MB and let  malloc and free manage it.
32mb sounds like a lot
Re:LLJS: Low-Level JavaScript by bdittmer on Tuesday October 09, 2012 @12:18PM (#4632375)
Build a single page javascript application and don't refresh after using it for a few hours. I've yet to find one that doesn't leak memory like a sieve.
Re:LLJS: Low-Level JavaScript by achille on Wednesday October 10, 2012 @01:36AM (#4635195)
The render process on very page you're on right now consumes 116mb, see: http://i.imgur.com/gCA1C.png
Re:LLJS: Low-Level JavaScript by haldean on Wednesday October 10, 2012 @06:10AM (#4635715)
Are you on a Retina display? That screenshot is beautiful (and huge).
Re:LLJS: Low-Level JavaScript by mbebenita on Tuesday October 09, 2012 @09:07AM (#4631266)
The size can be adjusted to whatever size you need. In principle this can be done automatically by malloc by hot-swapping the typed array with a larger one.
Re:LLJS: Low-Level JavaScript by pkolaczk on Wednesday October 10, 2012 @08:10AM (#4635941)
32 MB of heap is not any problem for modern GCs and modern RAM speeds. With a typical DDR3 memory with bandwidth of 16 GB/s that should fully GC in a few ms. And good GCs usually don't stop the mutator in the marking phase (at least so do some GCs in Java), so the total blocking time could be even lower.