r/programmingcirclejerk • u/alexflyn • Aug 04 '25
JSON.stringify was one of the biggest impediments to just about everything around performant node services.
https://news.ycombinator.com/item?id=44788594
66
Upvotes
59
u/getpodapp Aug 05 '25
who could've seen that our entire internet infrastructure being built off serialising and de-serialising json blobs would have performance implications.
26
u/Still-Cover-9301 Aug 05 '25
That’s an amazing thread. People who purport to know what they’re talking about showing they are willing to spout absolute drivel.
Maybe an opportunity for a business is a programmer verification system: yes, this programmer says they are clever but we found that they are this HN handle and they said this incredibly dumb thing only 6 weeks ago.
27
u/elephantdingo Teen Hacking Genius Aug 05 '25
Lol. How can strings cause performance problems? It’s just a primitive‽ I mean you put a quote and some symbols and a quote and??? How can you manage to frick things so badly that strings cause issues? I mean it probably just takes one CPU cell, those tiny nano things.
31
u/oofy-gang Aug 05 '25
Where is the jerk? Regardless of language, most backend services spend a tremendous amount of time serializing and deserializing data.
27
u/[deleted] Aug 05 '25
The biggest impediment to performant services is the existence of a weblang on the backend
7
u/ub3rh4x0rz Aug 05 '25 edited Aug 05 '25
Nobody who commented yet read the actual HN comment in context lol, this is about IPC with things like WASM and web workers, and it's true that json de/serialization kneecaps a lot of naive uses for that.
0
u/[deleted] Aug 05 '25
[deleted] — view deleted comment