Hacker News new | ask | show | jobs
by cryptonector 2759 days ago
jq is a C program, yes, but jq programs are interpreted. Because jq is a dynamically-typed language, it wouldn't be easy to compile it to object code that would run too much faster than the byte-interpreted version (though it would still run faster).

As you say, jq's power is that it is an expressive language, and it's much much easier to write jq programs that work than it is to write C/C++ programs as needed that do the same or similar work.

1 comments

The interpreted language is just the setup phase for a pipeline of compiled-in data transformations.
I don't understand this statement. Keep in mind I'm a jq maintainer.