面对日渐膨胀的语言特性, Google 打算 fork JS

查看 41|回复 3
作者:ChrisFreeMan   
原文链接
Google 在 TC39 中的提议

They argue that new features are placing a performance and security burden on JS engines, which puts the implementors at odds with JavaScript developers - who are demanding new syntactic sugar (apparently). By splitting the standard, Google hope that JSSugar could continue to evolve quickly while JS0 grows more gradually.

大致意思是,现有标准 javascript 将成为 JSSugar ,其继续丰富其语法特性,而真正运行在浏览器的 js 将成为 JS0,由 webPack 编译,其专注于性能和运行时友好。
diivL   
Dart:?
hronro   
冷知识:webpack 自身是不能编译(transpile) JS 的
superedlimited   
原文是这个:
The proposal from Google was to split the standard into: JS0, the language implemented by engines, and JSSugar, an extended syntax that tools like WebPack will compile to JS0.
咱看不懂英文,可以不用乱翻译的。
您需要登录后才可以回帖 登录 | 立即注册

返回顶部