I see lots of ways (even if the bridge is costly) this could be used for a nice win.
-
-
Replying to @stefanpenner @domenic and
Especially if work is batched and what is passed between wasm and js doesn’t require complex wrappers (a binary blob)
1 reply 0 retweets 0 likes -
I just see no reason to believe the machine code produced by wasm would be more efficient than the machine code produced by the JIT, for this kind of code. Happy to be proved wrong!
2 replies 0 retweets 4 likes -
Replying to @domenic @stefanpenner and
@wycats argument on this is roughly "consistent expectations". Less that we expect improved top speed, more that we see less hits from ejects1 reply 0 retweets 1 like -
Replying to @Runspired @stefanpenner and
Why would this code "eject", ever? (I assume you mean deopt.)
3 replies 0 retweets 0 likes -
Replying to @domenic @Runspired and
Gentle reminder that people put a lot of themselves into building new things, and a little goodwill and congratulations (and maybe less language nitpicking and skepticism) goes a long way. We’re all exploring what wasm can do—exciting times!
1 reply 2 retweets 15 likes -
Replying to @littlecalculist @Runspired and
Sure, thanks for the reminder, but I think wasm in particular has always suffered from a will replace JS” meme that is totally unwarranted in the face of its design goals. I think communicating skepticism there is important.
3 replies 1 retweet 10 likes -
Replying to @domenic @littlecalculist and
Even the tiniest piece sure as shit replaced the js we had for hashing. Beats out the job impl. by 1000x
1 reply 0 retweets 3 likes -
Replying to @TheLarkInn @domenic and
That might say more about differences in algorithms / implementations than actual engines.
1 reply 1 retweet 3 likes -
Replying to @RReverser @domenic and
Well I'm saying algo's ran in JS vs WASM. But I suppose you are right. Theres too much nuance to hand wave or parade rain either way.
1 reply 0 retweets 0 likes
At this point, let's all admit we don't exactly know how wasm will affect performance when plugged granularly into big systems. We'll know the truth soon enough! And I'm happy people are trying it out!
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.