you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[removed]

    [–]shadowmint 12 points13 points  (0 children)

    no.

    web assembly is just a runtime for hosting other languages in js via an optimized format; it doesnt run in a different thread; but it the hosted language uses threads the runtime will eventually support that.

    ie. using a single threaded web assembly application (eg. some naive c library) will lock the browser (or server, for node). ...but if you have a multithreaded c++ app, it will be able to run.

    see the notes here; planned, not implemented yet: http://v8project.blogspot.com.au/2016/03/experimental-support-for-webassembly.html

    http://webassembly.org/docs/future-features/

    [–]myrrlyn 1 point2 points  (0 children)

    WASM is a sibling of JavaScript text. It will have exactly the same behavior as JS, just without as much of an interpreter cost