I wonder so often about many new CLI tools whose primary selling point is their speed over other tools. Yet I personally have not encountered any case where a tool like jq feels incredibly slow, and I would feel the urge to find something else. What do people do all day that existing tools are no longer enough? Or is it that kind of "my new terminal opens 107ms faster now, and I don't notice it, but I simply feel bet…
Not every use case of jq is a person using it interactively in their terminal, believe it or not.
A Faster Alternative to Jq
141–150 of 281 posts
Re: A Faster Alternative to Jq
#142Jq's syntax is so arcane I can never remember it and always need to look up how to get a value from simple JSON.
Re: A Faster Alternative to Jq
#143Earlier quoted context omitted.
Whenever you have this kind of impressions on some development, here are my 2 cents: just think "I'm not the target audience". And that's fine. The difference between 2ms and 0.2ms might sound unneeded, or even silly to you. But somebody, somewhere, is doing stream processing of TB-sized JSON objects, and they will care. These news are for them.
Who is the target audience? I truly wonder who will process TB-sized data using jq? Either it's in a database already, in which case you're using the database to process the data, or you're putting it in a database. Either way, I have really big doubts that there will be ever a significant amount of people who'd choose jq for that.
Re: A Faster Alternative to Jq
#144I appreciate performance as much as the next person; but I see this endless battle to measure things in ns/us/ms as performative. Sure there are 0.000001% edge cases where that MIGHT be the next big bottleneck. I see the same thing repeated in various front end tooling too. They all claim to be _much_ faster than their counterpart. 9/10 whatever tooling you are using now will be perfectly fine. Example; I use grep a…
Whenever you have this kind of impressions on some development, here are my 2 cents: just think "I'm not the target audience". And that's fine. The difference between 2ms and 0.2ms might sound unneeded, or even silly to you. But somebody, somewhere, is doing stream processing of TB-sized JSON objects, and they will care. These news are for them.
That's crazy to think about. My JSON files can be measured in bytes. :-D
Re: A Faster Alternative to Jq
#145Jq's syntax is so arcane I can never remember it and always need to look up how to get a value from simple JSON.
jq is the CLI I like the most, but sometimes even I struggled to understand the queries I wrote in the past. celq uses a more familiar language (CEL)
Re: A Faster Alternative to Jq
#146Earlier quoted context omitted.
Whenever you have this kind of impressions on some development, here are my 2 cents: just think "I'm not the target audience". And that's fine. The difference between 2ms and 0.2ms might sound unneeded, or even silly to you. But somebody, somewhere, is doing stream processing of TB-sized JSON objects, and they will care. These news are for them.
> "somebody, somewhere, is doing stream processing of TB-sized JSON objects" That's crazy to think about. My JSON files can be measured in bytes. :-D
https://developer.nvidia.com/blog/accelerating-json-processi...
Re: A Faster Alternative to Jq
#147Re: A Faster Alternative to Jq
#148Jq's syntax is so arcane I can never remember it and always need to look up how to get a value from simple JSON.
I also genuinely hate using jq. It is one of the only things that I rely heavily on AI.
Re: A Faster Alternative to Jq
#149Jq's syntax is so arcane I can never remember it and always need to look up how to get a value from simple JSON.
Shameless plug, but you might like this: https://github.com/IvanIsCoding/celq jq is the CLI I like the most, but sometimes even I struggled to understand the queries I wrote in the past. celq uses a more familiar language (CEL)
# Common Expression Language
The Common Expression Language (CEL) implements common
semantics for expression evaluation, enabling different
applications to more easily interoperate.
## Key Applications
- Security policy: organizations have complex infrastructure
and need common tooling to reason about the system as a whole
- Protocols: expressions are a useful data type and require
interoperability across programming languages and platforms.Re: A Faster Alternative to Jq
#150Jq's syntax is so arcane I can never remember it and always need to look up how to get a value from simple JSON.