TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The Future of JavaScript Will Be Less JavaScript

22 点作者 10-6超过 7 年前

3 条评论

kartan超过 7 年前
For me the main point is WebAssembly. Javascript was the only option for the web (As the article notices you can compile&#x2F;transpile to Javascript but this was adding more complexity for less gain). With more options developers will use languages that better adapt their taste and needs. C++ can be highly optimized when creating WebAssembly code, C# and Java offer flexibility, Python and Groovy are easier to star to use, etc.<p>Javascript was used beyond it&#x27;s own merits as a language. It was the only feasible door to pluguinless development in the web. WebAssembly will allow people to choose. And even that a lot of developer will still have Javascript as a first option, others will not, and the web development environment is going to deeply change.
评论 #15854641 未加载
chopchopchop超过 7 年前
I don&#x27;t understand why the author sounds so excited about the premise of his article. Nor do I understand the fervor, in general, surrounding transpliers and the constantly-expanding JS toolchain. It seems people are too busy fawning over the latest JavaScript-adjacent tool to remember that the sole benefit of using said tools is basically to support browsers that don&#x27;t yet support ES6. Yes, in doing so you are able to implement bleeding edge features that you couldn&#x27;t otherwise, but this will not be the case once ES6 is fully adopted. Until then they are merely a necessity.<p>ES6 is JavaScript in its actualized form, and once fully adopted it should suffice for most developers unless you really want to implement bleeding edge ES7 tech. WASM is pretty cool, though I personally believe you have to be some kind of masochist to put yourself through the torture of building your web app in C++, unless said application would really benefit from the optimization factor.
oneweekwonder超过 7 年前
I will be hanging around the next 60 years creating more JavaScript 1.5&#x2F;ECMAScript 3 code, oh the horror.