News for hackers. Stuff that matters.
Re:Show HN: Up to 100x Faster FastAPI with simdjson and io_u... by tinselcity on Monday March 06, 2023 @01:44PM (#35045635)
I used the rapidjson streams with my little embedded REST HTTP(s) server library: https://github.com/Edgio/is2/

We needed it for streaming large json from async server sockets.

Code link: https://github.com/Edgio/is2/blob/master/include/is2/support...

You just had to implement the interfaces like Peek/Take/Tell/etc. It worked really well for us.

Probably not as fast as simdjson, but they used some simd tricks I think for skipping whitespace:

https://rapidjson.org/md_doc_internals.html#SkipwhitespaceWi...

There are no comments on this comment yet.