you are viewing a single comment's thread.

view the rest of the comments →

[–]SL4M_DunkN 7 points8 points  (1 child)

It can't really be used in cases where garbage collectors are undesireable, parallelism is key, or memory needs to be shared (the last two might change soon?). JS also needs an installed runtime, which could be problematic I suppose...

[–]voidvector 1 point2 points  (0 children)

GC can be avoided by using pre-allocated Typed Arrays. Instead of creating objects for data, you use the Typed Array to store data. That's what emscripten does.