Deno 1.39 Brings Stable WebGPU Support and TypeScript 5.3 – What Developers Need to Know
Version 1.39 of Deno introduces experimental‑yet‑stable WebGPU via the –unstable-webgpu flag, adds a new coverage reporter with static HTML output, improves Node.js compatibility, and ships with TypeScript 5.3, while warning of upcoming breaking changes to decorator semantics in the next release.
New Deno 1.39 is released with WebGPU support, a new coverage reporter, better Node.js compatibility, and TypeScript 5.3, but the team warns that TypeScript decorators will undergo a major change.
New WebGPU
WebGPU first appeared in Deno in March 2021 as experimental support. It was removed in Deno 1.32 because it increased binary size and startup time. In 1.39 the issues are addressed; the feature is still marked “unstable” and can be enabled with the --unstable-webgpu flag. Deno states the specification is stable and the API provides a solid foundation for developers.
WebGPU is a W3C API; Deno implements it using the same engine as Firefox. Chrome has supported the API since version 113 (May 2023). WebGPU is the successor to WebGL, which struggled with general‑purpose GPU programming.
Static Coverage and TypeScript
Deno Coverage now can output reports as summary tables or HTML that can be hosted on static file servers such as GitHub Pages.
Node.js compatibility is improved: Deno tasks can run executables from node_modules/.bin, CommonJS entry points in node_modules are supported, and additional Node.js APIs are available.
TypeScript 5.3 ships with Deno, reflecting Deno’s priority on TypeScript. However, decorator handling is complex: TypeScript has long treated decorators as experimental (stage 2). TypeScript 5.0 introduced incompatible ECMAScript standard decorators (stage 3) while keeping the old behavior behind an experimental flag. Deno currently implements the experimental decorators, which may be a mistake. The team warns that Deno 1.40 will change the default to stage 3 decorators, a breaking change that can be avoided by adding the experimentalDecorators flag in deno.json.
Meanwhile, Deno’s competitor Bun released three versions (1.0.16, 1.0.17, 1.0.18) in four days, focusing on bug fixes and performance, and added the first 500 npm packages to its allow‑list for smoother installation.
Conclusion
For front‑end developers, the most notable addition in Deno 1.39 is WebGPU. One developer said, “As someone who dislikes Python, I hope to see better TypeScript WebGPU libraries.”
Deno 1.34 released, adding npm support to deno compile 10 popular Node.js libraries and frameworks
JSON creator launches new programming language Misty
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
21CTO
21CTO (21CTO.com) offers developers community, training, and services, making it your go‑to learning and service platform.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
