Deno 1.8 preps for GPU-accelerated machine learning

Deno 1.8 preps for GPU-accelerated machine learning

WebGPU API for GPU rendering and computation is supported in the latest upgrade to the JavaScript/TypeScript runtime.

Credit: Clément H

Deno 1.8, released on March 2, offers preliminary support for an API to bring enhanced machine learning to the secure JavaScript/TypeScript runtime.

Experimental backing for the WebGPU API, for performing operations such as rendering and computation on a GPU, provides a path toward out-of-the-box GPU accelerated machine learning in Deno, release notes said.

The WebGPU API gives developers a low-level, high-performance cross-architecture mechanism to program GPU hardware from JavaScript. It serves as the effective successor to WebGL on the web.

The WebGPU spec has not been finalised, but support is being added to browsers such as Chromium, Firefox, and Safari, the Deno release notes state. GPU usage in machine learning has enabled more complex neural networks, or deep learning.

Deno’s developers contend that while most neural networks are defined in Python, JavaScript could be used as an ideal language for expressing mathematical ideas if proper infrastructure existed. Providing WebGPU support out-of-the-box in Deno is cited as a step in this direction. The goal is to run TensorFlow.js on Deno, with GPU acceleration.

Installation instructions for Deno 1.8 can be found at Those with Deno already installed can access Deno 1.8 by running deno upgrade.

Other capabilities in Deno 1.8 include built-in internationalisation APIs have been enabled. JS Intl APIs work out of the box and import maps, for controlling the behaviour of JavaScript imports, are now stabilised.

This is in addition to support for fetching private modules is now stabilised. Developers can fetch remote modules from a private server using auth tokens. Furthermore, coverage infrastructure has been expanded, with coverage handling split into coverage collection and coverage reporting.

Deno 1.8 follows the January 19 release of Deno 1.7. The platform has arisen as an attempt to provide a more secure alternative to Node.js, and with a better module system. Deno’s development and was spearheaded by Node.js creator Ryan Dahl.

Follow Us

Join the newsletter!


Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.



Join key decision-makers within Environmental, Social, and Governance (ESG) that have the power to affect real change and drive sustainable practices. SustainTech will bridge the gap between ambition and tangible action, promoting strategies that attendees can use in their day-to-day operations within their business.

EDGE 2023

EDGE is the leading technology conference for business leaders in Australia and New Zealand, built on the foundations of collaboration, education and advancement.


ARN has celebrated gender diversity and recognised female excellence across the Australian tech channel since first launching WIICTA in 2012, acknowledging the achievements of a talented group of female front runners who have become influential figures across the local industry.

ARN Innovation Awards 2023

Innovation Awards is the market-leading awards program for celebrating ecosystem innovation and excellence across the technology sector in Australia.

Show Comments