
FFI Is the New Standard Library
We're entering an era where the most performant JavaScript code is actually written in Rust, and the bridge between them has never been thinner.
Articles, guides, and thoughts on web development and technology

We're entering an era where the most performant JavaScript code is actually written in Rust, and the bridge between them has never been thinner.

Using a colon to type your objects might be the very thing making your TypeScript code feel rigid and cumbersome.

Discover why the default way we send data to Web Workers is quietly killing your performance and how to implement true shared memory with Atomics.

You might be over-engineering your real-time features with stateful WebSockets when the browser's native, auto-reconnecting Server-Sent Events can handle the job with half the complexity.

Why matching exact strings is a waste of tokens, and how to cache LLM responses by intent instead.

Stop giving every NPM dependency full access to your machine and start using the Node.js native permission model to restrict your runtime's blast radius.
High-performance web apps are outgrowing the limitations of IndexedDB, and the Origin Private File System is the low-latency alternative we've been waiting for.

Examine the technical trade-offs between TCP-bound WebSockets and the new HTTP/3-powered WebTransport API for ultra-low latency data transfer.

The ES2024 arrival of Promise.withResolvers finally standardizes the 'Deferred' pattern, allowing for much cleaner management of asynchronous state outside of the constructor.

Stop guessing when to yield and start using the browser's native priority queue to interleave heavy background work without dropping a single frame.