Gregor@gregtech.eu to Ask Lemmy@lemmy.world · 12 days agoWhat is the current state of webasm?message-squaremessage-square12fedilinkarrow-up144arrow-down11file-text
arrow-up143arrow-down1message-squareWhat is the current state of webasm?Gregor@gregtech.eu to Ask Lemmy@lemmy.world · 12 days agomessage-square12fedilinkfile-text
minus-squarexigoi@lemmy.sdf.orglinkfedilinkEnglisharrow-up1·edit-211 days agoJavaScript is slow if you need to do things that JavaScript can’t do, such as lots of stack-allocated objects/arrays (in JavaScript you have to heap-allocate them) hash maps with non-primitive types as keys (in JavaScript you have to serialize them to a string) count trailing zero bits (in JavaScript you have to use a lookup table)
JavaScript is slow if you need to do things that JavaScript can’t do, such as