HackerTrans
TopNewTrendsCommentsPastAskShowJobs

kabber

no profile record

comments

kabber
·5 tahun yang lalu·discuss
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.
kabber
·5 tahun yang lalu·discuss
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.
kabber
·5 tahun yang lalu·discuss
Don't fall for it Python users - Lucy will pull the football away just before you kick it.
kabber
·5 tahun yang lalu·discuss
This link https://github.com/privatenumber/minification-benchmarks shows swc is still a work in progress.
kabber
·5 tahun yang lalu·discuss
Why not minify with esbuild instead by default?