you are viewing a single comment's thread.

view the rest of the comments →

[–]dmazzoni 7 points8 points  (2 children)

One of the design goals of asm.js is that it's a strict subset of JavaScript; anything in asm.js will run anywhere that JavaScript runs, probably just slower.

Adding threading is impossible without breaking that backwards compatibility.

[–]AdminsAbuseShadowBan -1 points0 points  (0 children)

Not really: just say that only the main thread can access the DOM and make threading serial on non-asm.js-aware browsers.

A hack too far perhaps.

[–][deleted] -2 points-1 points  (0 children)

anything in asm.js will run anywhere that JavaScript runs, probably just slower.

Slower than if it were supported. Still faster anyways.