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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Deno Joins TC39

415 点作者 wongmjane超过 3 年前

8 条评论

disease超过 3 年前
&gt; As TypeScript is a core part of the Deno ecosystem, we are also very interested in pushing for even closer alignment of TypeScript and JavaScript in the future.<p>I&#x27;ve wondered why the frontend community hasn&#x27;t gotten together and said, &quot;The next version of JavaScript - is TypeScript!&quot; I&#x27;ve been using TypeScript for five years professionally now and cannot understate how much easier it has made large frontend (not just Web, but mobile and desktop) projects. Surely enough thought and work has been put into TypeScript to make it the next standard.
评论 #29542018 未加载
评论 #29541337 未加载
评论 #29541185 未加载
评论 #29541373 未加载
评论 #29541295 未加载
评论 #29541193 未加载
评论 #29541138 未加载
lucacasonato超过 3 年前
Hey - I am Luca Casonato, Deno&#x27;s new delegate at TC39. I am happy to answer any questions you all might have :-)
评论 #29539550 未加载
评论 #29540064 未加载
评论 #29539021 未加载
评论 #29538966 未加载
评论 #29539229 未加载
评论 #29540924 未加载
评论 #29538949 未加载
评论 #29538822 未加载
评论 #29540834 未加载
评论 #29539024 未加载
评论 #29539371 未加载
评论 #29538944 未加载
thegagne超过 3 年前
Something I’d like to see, in browsers, Cloudflare Workers, Deno, etc: explicit network firewall in the software stack.<p>An example with Workers, one script might only need to fetch from Backblaze. I’d like to set their host as a whitelisted address, and so even if a log4j type vuln happens, it can’t go anywhere except Backblaze.<p>I think this could even work in browser-land? If you don’t need to pull in any resources outside the original host, deny any fetch made unless it’s added to a whitelist. For browsers this would need to be opt-in for backwards compatibility, but an ideal state would be opt-out (to allow all).
评论 #29539730 未加载
评论 #29540018 未加载
评论 #29539849 未加载
maga超过 3 年前
This is great news! Good luck, Luca!<p>&gt; Better support for explicit resource management<p>+1<p>Since everyone is making feature requests, I&#x27;d like to point out `ArrayBuffer.transfer`[1] -- ability to effectively move data without copying would do wonders for low-level&#x2F;high-performance code in JS.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;tc39&#x2F;proposal-resizablearraybuffer" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tc39&#x2F;proposal-resizablearraybuffer</a>
评论 #29539445 未加载
tmikaeld超过 3 年前
I&#x27;m surprised not to see Cloudflare amongst the TC39&#x2F;ECMA members, considering their current downline entirely depend on Javascript.
scanr超过 3 年前
&gt; More extensive standard library functions for (async) iteration<p>Great news! I wrote an open source library called axax that adds a number of utility methods to async iterators - map, filter etc.<p>I think having them as part of the language would be awesome.<p>Standardising async cancellation would be neat too if Deno wants a challenge....
评论 #29539159 未加载
lloydatkinson超过 3 年前
&gt; Better support for non-JS assets in the ES module graph<p>Whatever happens please never give into any misguided pushes to support commonjs&#x2F;amd&#x2F;umd or any of the other non-standardised disaster module formats that cause Node and npm etc to be so painful! It&#x27;s only very recently that modern build tools are managing to overcome such poor foundations...
评论 #29538854 未加载
评论 #29538993 未加载
评论 #29538902 未加载
zsolt224超过 3 年前
Just adding some interesting info: There is an ECMAScript Optional Static Typing Proposal.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;sirisian&#x2F;ecmascript-types" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sirisian&#x2F;ecmascript-types</a>