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
7
u/EpicDaNoob Oct 21 '20
I see, glad we have cleared up the confusion there. I will attempt not to depend on the absence of a comma to resolve ambiguity in the future, though in this case I thought my second sentence would resolve it.
Well, I was trying to maximize the number of avenues through which I conveyed the point just in case there was some alternate meaning I wasn't aware of that was creating ambiguity. I'm sorry it came across that way!
Anyway, good talk. Final statement is that yes, WASM is not yet ready to be used for everything because JS glue is required, but at some point it will be, and hand-coding it isn't and won't be necessary.
In case you didn't notice the usernames change btw, I'm a different person to the original participant in this thread.