Converting colors in JavaScript at 6B operations per second

Hacker News Top Tools

Summary

A JavaScript technique achieves color conversion at 6 billion operations per second, showcasing extreme performance optimization.

No content available
Original Article

Similar Articles

Accurate color conversions (2023)

Lobsters Hottest

Chris Lomont explains accurate methods for converting between integer and floating-point color values in C++, highlighting common pitfalls and providing a roundtrip-safe solution with uniform mapping.

Generative colors with CSS

Lobsters Hottest

A tutorial on using the CSS oklch() function and relative colors to dynamically generate full color palettes from a single hex code, simplifying color management on websites.

What color is your function? (2015)

Hacker News Top

A blog post from 2015 that presents a hypothetical programming language where functions are colored red or blue, using this metaphor to critique the separation between synchronous and asynchronous functions in languages like JavaScript.