Earlier quoted context omitted.
What would be your choice if you would need to write high performing CLI tool?
The other options are C, C++, Go, and maybe Ada or Zig, though I haven't seen many CLI tools written in those two in practice. In practice, it seems like Go, Rust, and C++ are the preferred languages for newer CLI tools, although I have no data; my conclusion is based on my general perception. Older ones, C and Perl.
Jaq – A jq clone focused on correctness, speed, and simplicity
81–90 of 254 posts
Re: Jaq – A jq clone focused on correctness, speed, and simplicity
#82I applaud this project's focus on correctness and efficiency, but I'd also really like a version of `jq` that's easy to understand without having to learn a whole new syntax. `jq` is a really powerful tool and `jaq` promises to be even more powerful. But, as a system administrator, most lot of the time that I'm dealing with json files, something that behaved more like grep would be sufficient.
Re: Jaq – A jq clone focused on correctness, speed, and simplicity
#83Haven't checked yet, but I am sure it's written in Rust
Re: Jaq – A jq clone focused on correctness, speed, and simplicity
#84This language must be the spiritual successor of Perl
Re: Jaq – A jq clone focused on correctness, speed, and simplicity
#85[flagged]
Re: Jaq – A jq clone focused on correctness, speed, and simplicity
#86Somewhat off-topic, but is there a tool which integrates something like this/jq/fx and API requests? I’d like to be able to do some ETL-like operations and join JSON responses declaratively, without having to write a script.
Re: Jaq – A jq clone focused on correctness, speed, and simplicity
#87I guess it's cute that there's some terminal line art library in Rust somewhere, but when I tried to invoke jaq it just pooped megabytes of escape codes into my iTerm and eventually iTerm tried to print to the printer. Too clever. I tried to do `echo *json | rush -- jaq -rf ./this-program.jq {} | datamash ...` and in that context I don't think it's appropriate to try to get artistic with the tty. The cause of the err…
Re: Jaq – A jq clone focused on correctness, speed, and simplicity
#88Earlier quoted context omitted.
Thank you so much. This seems like a saner approach for some simpler use cases. It flattens the structure. And makes for easy diffing.
There's also this awesome tool to make JSON interactively navigable in the terminal: https://fx.wtf
Re: Jaq – A jq clone focused on correctness, speed, and simplicity
#89Somewhat off-topic, but is there a tool which integrates something like this/jq/fx and API requests? I’d like to be able to do some ETL-like operations and join JSON responses declaratively, without having to write a script.
Is there anything out there like "SELECT * FROM " http:// ..."?