News for hackers. Stuff that matters.

kabber

Re:Parsing gigabytes of JSON per second on Saturday October 23, 2021 @11:12AM (#28969266)
Fast JSON parsers are all fine and good, but take such benchmarks with a grain of salt. JSON, like any format, is useless unless you do something meaningful with it - populate a database, verify the result, or transform it in some useful way for the task at hand. Many of these faster JSON DOM-style parsing libraries store key/value pairs in lists or arrays because it's the most efficient way to do so. But they aren't great at lookup speed. If the JSON parse library is event based, i.e. SAX-style, you have to store it somewhere, and this takes CPU as well.
Re:Circle: C++ Automation Language on Saturday October 16, 2021 @11:10PM (#28893609)
When coding in C++ I often thought "Why isn't there an imperative programming language in the preprocessor?"

This was the only thing holding me back from finishing my metacircular TODO app.

Re:A viable solution for Python concurrency on Saturday October 16, 2021 @03:33AM (#28886206)
Don't fall for it Python users - Lucy will pull the football away just before you kick it.
Re:Parcel v2 on Thursday October 14, 2021 @12:06AM (#28860411)
This link https://github.com/privatenumber/minification-benchmarks shows swc is still a work in progress.
Re:Parcel v2 on Wednesday October 13, 2021 @11:33PM (#28860235)
Why not minify with esbuild instead by default?