Deno 1.8: Node.js alternative gets 'out of the box GPU accelerated machine learning'
The Deno project has released version 1.8, including experimental support for the WebGPU API enabling "out-of-the-box GPU accelerated machine learning."
Fancy a bit of Python (dev) charming?
Ever wondered why that one weird file keeps being included? Super sleuth TypeScript 4.2 is hereREAD MORE
The “proper infrastructure” includes the ability to do general-purpose GPU computing, using the multithreading capabilities of the GPU for purposes other than graphics.
For this, the Deno project has turned to WebGPU, an API for GPU programming, which is not a W3C standard but does have support from Google, Mozilla and Apple, and therefore is in development for Chromium, Firefox and Safari.
Integration of the WebGPU API into Deno has been no small task and required 15.5k lines of code, according to the post, as well as guidance from the WebGPU team.
Also in Deno 1.8 is full support for International Components for Unicode (ICU), which was apparently the second most requested feature in the Deno repository. Deno promises to match browser APIs for this, important for language localisation.
Node.js creator delivers Deno 1.0, a new runtime that fixes 'design mistakes in Node'READ MORE
Other new features include support for downloading modules from servers that require authentication, stabilization of permission APIs for security web pages, and improved instrumentation support (for analysing performance).
There is also a new language server, used to support smart features in code editors, that works with both Visual Studio Code and other editors. The TypeScript version in Deno 1.8 has been upgraded to the latest 4.2.
Deno has progressed considerably since the release of version 1.0 in May 2020 and the project has considerable momentum, as evidenced by 73,000 stars and 170,000 watchers on its GitHub repository.
Its use of Rust, built-in TypeScript, and exclusive use of ECMAScript modules (as opposed to CommonJS modules still widely used in Node) ticks the boxes for web developers – though adoption remains relatively small. ®