browser js typically is a dom oriented language. So when people rant about it being slow in JS, it is due to dealing with an inefficient data-structure that is only made worse by the years of piled on HTML and CSS spec. Also, single-threaded + the combinatorics of different operating systems with different browser really blows the problem of solving speed efficiency into a masochists wet dream.
View all comments
Show parent comment
2
u/Purpledrank Jun 26 '15
browser js typically is a dom oriented language. So when people rant about it being slow in JS, it is due to dealing with an inefficient data-structure that is only made worse by the years of piled on HTML and CSS spec. Also, single-threaded + the combinatorics of different operating systems with different browser really blows the problem of solving speed efficiency into a masochists wet dream.