Sébastien Rigaux

Tech watch

← All links

JavaScript

The language of the Web, covering interactions, browser APIs and server applications.

The W3C has launched a second pilot in its open-source program: a polyfill for WebMCP, an incubating JavaScript API that lets applications expose functions as tools callable by agents and assistive technologies. The polyfill is intended to support experimentation and interoperability as the specification evolves.

Plans include publishing an npm package, tracking Web Platform Tests coverage, and advancing lifecycle events and declarative support. If WebMCP moves onto the standards track and interoperable native implementations emerge, the polyfill would be phased out gradually.

Ian Jacobs, Strategy Team

An illustration shows a dilapidated web code tag connected by digital streams to an iPhone struck by a red and blue distortion.

Expired domains behind old analytics and advertising tags have been bought and repurposed to redirect visitors to malicious content, including the Coruna and DarkSword iOS exploit kits. Report URI and iVerify describe a chain that filters visitors and tailors its payload to the device; security scanners may receive only an empty response.

The case shows how a forgotten third-party script remains an active dependency: its domain can change hands without any site change. The article recommends auditing tags, monitoring loaded scripts, and restricting their domains with a Content Security Policy.

Scott Helme

OGL project logo on a white background.

OGL keeps abstractions to a minimum for WebGL rendering and custom shaders. This dependency-free ES module library shares some conventions with Three.js, but provides fewer features and leaves room to use native WebGL commands directly.

Its Math, Core, and Extras split helps keep integrations modular; the README lists 29 KB minified and gzipped for the full set before tree-shaking. Commented examples cover both a camera-based scene and a fullscreen shader. The low abstraction level makes the code easier to learn and extend, while leaving more WebGL details to the developer.

Mutative graphic on a dark gray background, with “Better immutability, Faster immutable updates” in orange and white and an orange logo.

Mutative lets developers write mutations against a draft to produce a new immutable state, avoiding manual spread copies at every level. It also supports arrays, Set and Map, along with patches and optional freezing.

Its benchmarks report a geometric mean 3.6 times faster than Immer with matched settings, or 6.6 times with each library’s defaults. Results vary by workload; hand-written reducers remain faster in most of the cases shown.