Got numbers handy?
-
-
Yeah, I remain pretty skeptical, at least in the absence of numbers. This is just not the kind of stuff wasm is designed to be good at, and not something I'd expect it to be better than a JS optimizing compiler on.
2 replies 0 retweets 2 likes -
I see lots of ways (even if the bridge is costly) this could be used for a nice win.
2 replies 0 retweets 0 likes -
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
olexandr Retweeted Joyce Lin
It is usual question when developers hear about wasm, I like this answer:https://twitter.com/PetuniaGray/status/783349373023297536 …
olexandr added,
1 reply 0 retweets 2 likes
I don't disagree with this. I'm probably the last person who would claim that JS is obsoleted by wasm. /me raises hand TC39 member here!
-
-
Replying to @wycats @alSkachkov and
I’m interested in how they can be used together. I think the replace JS meme is silly. The experiments I’ve done are around this, can you do something useful with a small amount of wasm + js. The sourcemap decoder I linked to was exactly that (and used no emscripten / c stdlib)
1 reply 1 retweet 5 likes -
Replying to @krisselden @wycats and
I am in constant awe of the careful, hard science you do. Your work here makes me extremely optimistic
0 replies 2 retweets 11 likes
End of conversation
New conversation -
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.