Re:Modernizing Compiler Design for Carbon Toolchain [video]
by jeroenhd on Sunday August 27, 2023 @05:08AM
(#37280826)
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.
[ Parent
| on HN ]
Re:Modernizing Compiler Design for Carbon Toolchain [video]
by pjmlp on Sunday August 27, 2023 @06:20AM
(#37281225)
Go'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.