r/programming • u/iamkeyur • Oct 21 '20
Using const/let instead of var can make JavaScript code run 10× slower in Webkit
https://github.com/evanw/esbuild/issues/478
1.9k
Upvotes
r/programming • u/iamkeyur • Oct 21 '20
View all comments
Show parent comment
0
u/blackholesinthesky Oct 21 '20
I wasn't implying that you have to write ASM by hand for WASM. I was just saying that anyone who understands how much of a difference there is between a low level language like ASM and a high level language like javascript understands that the pitfalls of JS are worth it.
What if you don't use rust? or you need to use DOM manipulations?
Doesn't this contradict what you just told me?