Maybe it’s time we invent JPUs (json processing units) to equalize the playing field.
Until then, we have simdjson https://github.com/simdjson/simdjson
CPU vs GPU tasks I suppose.
GPU, render my 4.2 MB json file!
Everybody gangsta still we invent hardware accelerated JSON parsing
Well, do you have dedicated JSON hardware?
Rockstar making GTA online be like: “Computer, here is a 512mb json file please download it from the server and then do nothing with it”
Render the json as polygons?
It’s time someone wrote a JSON shader.
Given it is a CPU is limiting the parsing of the file, I wonder how a GPU-based editor like Zed would handle it.
Been wanting to test out the editor ever since it was partially open sourced but I am too lazy to get around doing it
As far as my understanding goes, Zed uses the GPU only for rendering things on screen. And from what I’ve heard, most editors do that. I don’t understand why Zed uses that as a key marketing point
To appeal to people who don’t really understand how stuff works but think GPU is AI and fast
there are simd accelerated json decoders
every day we stray further from god
Don’t worry, they still make extensive use of regexes.
I didn’t think any JSON parsers used regex given how simple the grammar is… but I’ve seen some horrors, so I shouldn’t rule it out.