Skip to content

avoid shellouts and C in favor of a direct jaq dependency #64

Description

@clux

the jaq jq clone is a rust rewrite with focus on correctness performance and simplicity.

We can avoid the shellout setup by depending on jaq crate to get better data than having to deal with shell input/output.

Iterator of json values match pretty well onto how we'd like to parse (particularly if each iterator element represents a vector element).

I feel like this is worth the experiment because;

  1. the project is promising - and wants to stay close to jq semantics
  2. like the idea of not depending on C code directly (last jq release has 2 CVE fixes for buffer overflows)
  3. it'd be nice to drop shelling out (which is not super efficient for all cases - like having to shell out multiple times for the --split functionality for instance).

Experimentation welcome, because probably not going to try this in the short term.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions