News for hackers. Stuff that matters.
Re:Node.js 22: Require() Support and WebSockets by DemocracyFTW2 on Thursday April 25, 2024 @02:44AM (#40154243)
rather poorly written; conflates, in more than one place, orthogonal features as if somehow belonging together
Re:Node.js 22: Require() Support and WebSockets by pavlov on Thursday April 25, 2024 @05:43AM (#40155384)
Indeed. I wonder if this was written by a confused LLM because it doesn't make any sense why Websockets are discussed under V8 enhancements.
Re:Node.js 22: Require() Support and WebSockets by DemocracyFTW2 on Thursday April 25, 2024 @06:38AM (#40155751)
Re:Node.js 22: Require() Support and WebSockets by thangngoc89 on Thursday April 25, 2024 @05:20AM (#40155242)
TL;DR: you could require() a ES module and Websockets is built-in
Re:Node.js 22: Require() Support and WebSockets by abhinavk on Thursday April 25, 2024 @05:45AM (#40155400)
> The newest version of NodeJS – the latest release of the most popular JavaScript Runtime – has officially arrived! The new release is featuring better require() support for ECMAScript modules. This is a huge improvement for the WebSocket client with an updated version of the Google v8 JavaScript Engine.

The first para doesn't make sense. How does require() supporting ESM improve WebSocket()? Probably LLM Spam.

Re:Node.js 22: Require() Support and WebSockets by parsadotsh on Thursday April 25, 2024 @05:45AM (#40155401)
Really strange writing...