Gregor@gregtech.eu to Ask Lemmy@lemmy.world · 10 days agoWhat is the current state of webasm?message-squaremessage-square12fedilinkarrow-up145arrow-down11file-text
arrow-up144arrow-down1message-squareWhat is the current state of webasm?Gregor@gregtech.eu to Ask Lemmy@lemmy.world · 10 days agomessage-square12fedilinkfile-text
minus-squarePraise Idleness@sh.itjust.workslinkfedilinkEnglisharrow-up8·edit-26 days agodeleted by creator
minus-squarespacecadet@lemm.eelinkfedilinkarrow-up7·10 days agoJS is slow, but I program Rust and Scala. Every internal app at my company is react based and I spend most my time waiting for that bloated framework to load a simple table. It can take seconds to load a 20 route paginated table from source.
minus-squareRain World: Slugcat Game@lemmy.worldlinkfedilinkEnglisharrow-up4·10 days agoreact is slow
minus-squareAce! _SL/S@ani.sociallinkfedilinkarrow-up5·10 days ago JS is not slow. Since JS is single threaded it can be pretty slow compared to anything being able to use multiple threads
minus-squarexigoi@lemmy.sdf.orglinkfedilinkEnglisharrow-up1·edit-29 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)
deleted by creator
JS is slow, but I program Rust and Scala. Every internal app at my company is react based and I spend most my time waiting for that bloated framework to load a simple table. It can take seconds to load a 20 route paginated table from source.
react is slow
Since JS is single threaded it can be pretty slow compared to anything being able to use multiple threads
JavaScript is slow if you need to do things that JavaScript can’t do, such as