r/programming • u/mttd • Aug 12 '26
The fastest double-to-string algorithm you’ve never heard of
https://vitaut.net/posts/2026/yy-dtoa/
338
Upvotes
r/programming • u/mttd • Aug 12 '26
View all comments
Show parent comment
2
u/TeraFlint Aug 12 '26
Let me just re-read what you initially wrote:
I don't know about your technical insight, but the address of some memory and its contents are two different things.
Any format decisions aside (transmitting/saving binary data is fine, as long as everyone involved has the same format for it, and it's (in contrast to this article) not meant to be human readable), logging just the address completely loses the information as soon as that memory gets freed (which might happen right after logging). The address is then only barely useful to reason about memory layout and the virtual ram space of your device.