惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
雷峰网
雷峰网
Google DeepMind News
Google DeepMind News
Y
Y Combinator Blog
Microsoft Security Blog
Microsoft Security Blog
M
MIT News - Artificial intelligence
WordPress大学
WordPress大学
MongoDB | Blog
MongoDB | Blog
V
V2EX
博客园 - 【当耐特】
GbyAI
GbyAI
Stack Overflow Blog
Stack Overflow Blog
I
InfoQ
Martin Fowler
Martin Fowler
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Hugging Face - Blog
Hugging Face - Blog
B
Blog
V
Visual Studio Blog
D
DataBreaches.Net
C
Check Point Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
F
Fortinet All Blogs

Deno

Deno 2.8 | Deno Claw Patrol: an open-source security firewall for agents | Deno Fresh 2.3: Zero JS by default, View Transitions, and Temporal support | Deno Deno 2.7: Temporal API, Windows ARM, and npm overrides | Deno Build a dinosaur runner game with Deno, pt. 6 | Deno Build a dinosaur runner game with Deno, pt. 5 | Deno Deno Deploy is Generally Available | Deno Introducing Deno Sandbox | Deno Build a dinosaur runner game with Deno, pt. 4 | Deno Build a dinosaur runner game with Deno, pt. 3 | Deno Build a dinosaur runner game with Deno, pt. 2 | Deno React / Next.js Denial-of-Service Vulnerability: Deno Deploy users protected | Deno Deno 2.6: dx is the new npx | Deno Build a dinosaur runner game with Deno, pt. 1 | Deno React Server Functions / Next.js Vulnerability: Deno Deploy users protected | Deno My highlights from the new Deno Deploy | Deno Deno's Other Open Source Projects | Deno How Deno protects against npm exploits | Deno Help Us Raise $200k to Free JavaScript from Oracle | Deno Deno 2.5: Permissions in the config file | Deno Fresh 2.0 Graduates to Beta, Adds Vite Support | Deno Deno 2.4: deno bundle is back | Deno JavaScript™ Trademark Update | Deno What's coming to JavaScript | Deno A brief history of JavaScript | Deno Reports of Deno's Demise Have Been Greatly Exaggerated | Deno An Update on Fresh | Deno How Plaid migrated 100 services to a new database platform 5x faster with Deno | Deno Deno 2.3: Improved deno compile, local npm packages, and more | Deno Add JSR packages with pnpm and Yarn | Deno
Big Changes Ahead for Deno | Deno
2022-08-15 · via Deno

TLDR:

  • We’ve been working on some updates that will allow Deno to easily import npm packages and make the vast majority of npm packages work in Deno within the next three months.
  • Our goal is to make Deno the fastest JavaScript runtime. For starters, the next release of Deno will include a new HTTP server. It is the fastest JavaScript web server ever built.
  • Given the extensive use of Deno by developers at large companies and founders, we’ll be launching office hours for those of you employing Deno in a commercial setting. Please apply here.
  • Deno recently passed 4.1m downloads on GitHub with 250k monthly active users.

First of all, we want to say thank you to all users of Deno who have helped the software grow over these past few years. Every day there are thousands of developers working with Deno, creating new capabilities and providing feedback to make Deno even better. This is one of the core elements that makes Deno special – especially when combined with a full-time staff that’s dedicated to listening and iterating quickly in response.

In this post we will share the learnings from our recent survey and more generally the feedback across our community. We’ll discuss how we’re addressing this feedback and the features to expect from Deno in the coming months.

Compatibility with Node and npm

Maybe not too surprisingly, Deno users have been a bit split on the best level of compatibility with Node. A large number of you have called out how refreshing it is to get away from all the pain of Node – from the antiquated and non-standard APIs to the odd module loading heuristics. We hear you, and these were some of the main reasons that our team created Deno in the first place.

Still, a fair number of you just want an easier way to interoperate with JavaScript written for Node and distributed as an npm package. We want Deno to be accessible and solve people’s problems, and so we’ve been working on some updates that will allow Deno to easily import npm packages and make 80-90% of npm packages work in Deno within the next three months.

The way this will work is with special npm URLs. It’s best explained with an example:

import express from "npm:express@5";

Within the next three months, most npm modules can be pulled in as a dependency like this. There will be no node_modules folder, no npm install; the packages will be automatically downloaded in the Deno cache. All the Deno tooling will work with this, from type checking, to the LSP, to deno vendor.

The fastest JavaScript runtime

We know there’s been a lot of chatter recently about runtime speed. Competition is good for the ecosystem! We relish the opportunity to put work into runtime performance. Our goal is to make Deno the fastest JavaScript runtime - full stop. We are 100% confident that the technology stack Deno is built on, V8 and Rust, can deliver this. Deno’s HTTP server is getting overhauled and we’re happy to report that it is the fastest JavaScript web server ever built. Our ops system is becoming ever more optimal - interfacing directly with V8 Fast API for speedy calls from JS into native code. Likewise our foreign-function interface (FFI) is seeing updates that place it second to none. We aren’t optimizing for a handful of edge cases, but for overall real world performance. You’ll be experiencing these improvements for yourself before the summer is over.

Supporting our enterprise users

Nearly half of active Deno users in our recent survey said they used Deno for work, including developers at large companies and founders building something new. We’d love to hear more about what you’re working on and to see how we can better support you. Going forward, we will launch free office hours for those of you employing Deno in a commercial setting. Since we’re still a pretty small crew, we just ask that you fill out THIS FORM to help us select folks to start with. We’ll prioritize based on project size and urgency.

The smoothest developer experience

When we asked about the main benefit you got from Deno, the vast majority of you mentioned the developer experience – especially with TypeScript out of the box. We also heard major love for Deno’s focus on web standards and APIs. The terms “breath of fresh air” and “futuristic” came up a lot. Our goal is to make sure Deno continues to deliver the best developer experience for everyone, and over the next few months we’re planning to launch a few things that will make it even better, including full-text symbol search across all third-party Deno code and automatically generated documentation for JavaScript and TypeScript projects. Here’s a quick preview:

symbol search on deno.land

A large and growing ecosystem

We continue to be excited by the size and supportiveness of the ecosystem that Deno has built over these past few years. Deno recently passed 4.1m downloads on GitHub with 250k monthly active users; the rate of adoption has continued to increase. We really appreciate your responsiveness not only to us in the recent survey but also on Discord, Github, and Twitter. We’re excited to keep building a better future for JavaScript with you!