Javascript
7 posts

Does JavaScript Really Lose to GPU? Three Real Benchmarks That Baffled Me
Particle simulation, matrix multiplication, image processing—real performance comparisons between WebGPU and JavaScript that yield surprising results. Not all scenarios need GPU; sometimes CPU does the job better.

The Trouble with JavaScript Streams: What Web Streams API Got Wrong
Web Streams API locked you out? BYOB mode giving you headaches? Node.js core contributor James Snell proposed an alternative using async iterables, with 2x to 120x performance gains. See how pull vs push models affect your code performance.

Frontend Performance Optimization: I Replaced Axios With 25 Lines of Vanilla JS
Discovered that 13KB Axios is just a fetch wrapper. Using 25 lines of vanilla JS to achieve the same functionality while reducing bundle size by 92%. A real frontend performance optimization case.

Evan You Announces OXC Tools: 45x Faster Than Prettier, 50-100x Faster Than ESLint
Vue.js creator Evan You unveils OXC tool suite with oxfmt 45x faster than Prettier and oxlint 50-100x faster than ESLint, revolutionizing frontend development workflow

Snapdom: A New Engine for Web Screenshots, Say Goodbye to Lag
Snapdom gained 2000+ stars in two months - how does it use SVG magic to make web screenshots lightning fast? Say goodbye to html2canvas lag and experience the modern web screenshot solution

Say Goodbye to encodeURIComponent() in 2025
Build cleaner URLs with the new URL() API and ditch the tedious encodeURIComponent() approach

Make Your Web App Fly with scheduler.yield() ⚡
Keep your UI smooth by breaking up heavy tasks, just like a smart restaurant server