r/programming • • Aug 12 '26

The fastest double-to-string algorithm you’ve never heard of

https://vitaut.net/posts/2026/yy-dtoa/
338 Upvotes

71 comments sorted by

View all comments

10

u/pftbest Aug 12 '26

The website is impossible to scroll, there is some custom animation that scrolls the page back to the top.

14

u/who_am_i_to_say_so Aug 12 '26

The vibecode deathscroll

16

u/knightly234 Aug 12 '26

Angular/react data fetch causing a rerender -> scrollTo 0 call I’ll bet. Drives me nuts because, with any amount of smoke testing, they just have to know it’s an issue and yet here it is.

4

u/lenswipe Aug 13 '26

companies don't do testing anymore - they just have an LLM hallucinate that the tests passed

2

u/aearphen Aug 13 '26

Sorry about that. Are you referring to https://vitaut.net/e4m3-yy.html or the blog post itself?

3

u/pftbest Aug 13 '26 edited Aug 13 '26

The blog post itself was not scrolling in Safari, but it seems this is already resolved, now it works fine. Maybe some part failed to load correctly earlier.

EDIT: I can reproduce it again by increasing Zoom on the page. It starts doom scrolling as soon as I zoom in, even slightly.