2 ms·
Google had experience in designing languages so they can be parsed quickly, that's one of Go's design goals. Javascript, on the other hand, is made fast out of
by jeroenhd 3y ago
Google had experience in designing languages so they can be parsed quickly, that's one of Go's design goals. Javascript, on the other hand, is made fast out of necessity, not out of design. I wouldn't take a Javascript parser to be the be-all and end-all of parser performance. If Google has applied any of the lessons learned from Go, they could easily exceed V8, even with curly braces.
- pjmlp 3y agoGo's design traces back to Oberon and Limbo, both fast to compile languages. It isn't Google's experience, rather how the rest of the world lost touch with fast compile cycles with the uptake of C and C++. There is a talk by Rob Pike where he mentions how fast the Algol compiler (punch card based) would go through his applications back in the day.