2 ms·
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 woul
by cryptonector 8y 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.
- JulianMorrison 8y agoThe interpreted language is just the setup phase for a pipeline of compiled-in data transformations.
- cryptonector 8y agoI don't understand this statement. Keep in mind I'm a jq maintainer.