News for hackers. Stuff that matters.
Re:A 1.5GB String by simplotek on Sunday April 09, 2023 @08:15AM (#35502011)
Inefficient is not the same as problematic. They turned what otherwise would be a linear increase in memory usage into an exponential increase, which expectedly resulted in memory exhaustion problems.

There are plenty of problems to go around this approach and overall system design, but the weakest link is undoubtedly how JSON was used.

Re:A 1.5GB String by jmull on Sunday April 09, 2023 @09:51AM (#35502728)
Can you imagine arguing in a tech meeting that a reason not to use JSON is that it doesn't support unbounded recursive levels of escaping very well?
Re:A 1.5GB String by ilyt on Monday April 10, 2023 @06:25AM (#35510810)
That is just entirely wrong; not serializing JSON into JSON would turn it back into linear.