Topics /

Web & Frontend

The most popular blog posts about web & frontend on Hacker News. 8,465 posts.

Any year
993

Date is out, Temporal is in

Temporal is the Date system we always wanted in JavaScript. It's extremely close to being available so Mat Marquis thought it would be a good idea to explain exactly what is better about this new JavaScript date system.

1003

Wuffs’ PNG image decoder

Summary: Wuffs’ PNG image decoder is memory-safe but can also clock between 1.22x and 2.75x faster than libpng , the widely used open source C implementation. It’s also faster than the libspng , lodepng and stb_image C libraries as well as the most popular Go and Rust PNG libraries. High performance is achieved by…

1010

Don't animate height

Our app was mysteriously using 60% CPU and 25% GPU on my M2 MacBook. It turned out this was due to a tiny CSS animation! In this post, I show how to find expensive animations, why some are so expensive, and how to make many animations much cheaper. Along the way, we'll learn how the browser renders CSS animations and…

1013

You have ruined JavaScript

In the old days In the old days we had some really awful JS being written on pages in a pretty ad-hoc fashion and it caused us huge problems. Presumably most people still do this but they're the same...