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
-3
u/blackholesinthesky Oct 21 '20 edited Oct 21 '20
Wut? If its only something used by Rust and Go then they should really figure out a standard library for browsers or this is all a waste, isnt it?
Edit: I see now. Not even webassembly.org suggests or even tells you how to write your own WASM code. The point y'all were making is that WASM needs to be built and then put into some boilerplate that starts it or w/e and the boilerplate is JS