News for hackers. Stuff that matters.
Re:Simdjson – Parsing Gigabytes of JSON per Second by avodonosov on Thursday February 21, 2019 @02:20AM (#19215170)
Any chance to have a similar thing for s-expressions? I parse GBs of them and Common Lisp reader is very slow.
Re:Simdjson – Parsing Gigabytes of JSON per Second by glangdale on Thursday February 21, 2019 @02:56AM (#19215278)
Probably not too hard. It would come down to how easy it is to detect quoting conventions so you don't accidentally parse () chars in strings. JSON is medium-easy. I don't know where the canonical definition of s-expressions you're using comes from (is it just Common Lisp?) so I don't know how this works.

We'd like to have some more examples of formats people care about - I'm interested in generalizing this work. So if you want to followup with more detail please do.

Re:Simdjson – Parsing Gigabytes of JSON per Second by dkersten on Thursday February 21, 2019 @06:09AM (#19216024)
As a clojure user, I care about EDN, but its probably too niche to spend your time on.

https://github.com/edn-format/edn

Re:Simdjson – Parsing Gigabytes of JSON per Second by nojvek on Thursday February 21, 2019 @09:28AM (#19217062)
Yes!!! A generalization for other kinds of simple grammars would be awesome.

On another note. As a js programmer who deals with a ton of json, I would love v8 to adopt some of the tricks into their json parser.