Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by seg_lol

1 month ago

A JSON parser is less than a thousand lines of code.

3 comments

seg_lol

Reply

Diti  1 month ago

And where most of CPU time will be wasted in, if you care about profiling/improving responsiveness.

  • monerozcash  1 month ago

    At that point you're just io bound, no? I can easily parse json at 100+GB/s on commodity hardware, but I'm gonna have a much harder time actually delivering that much data to parse.

  • keepamovin  1 month ago

    What's a better way?

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities