wr
hn
Top
New
Best
Ask
Show
Jobs
Back
e
errnil
Joined 5 years ago
Karma
79
Submissions
7
Member since
Oct 2
View on Hacker News
Recent submissions
Show HN: Make Any CLI into a GUI in Acme
g
github.com
9
errnil
4 years ago
3
comments
Comment · 4 years ago
Actually `gq` does not require a locally installed Go compiler. It interprets the supplied Go using Yaegi.
Comment · 4 years ago
:) Thank you! It was fun to write.
Comment · 4 years ago
No doubt this tool is lacking. However I will say that for me the most important quality in my `jq`-like is not conciseness. My main frustration is that I always forget the small details of how `jq`'s language works and spend 10 minutes googling. E.g doing operations within arrays of objects, using select, and so on. Maybe I'm just dumb, but I'm fond of tools that accommodate my dumbness!
Comment · 4 years ago
Precisely. The first pass generated a temp file and compiled/ran it, but that lead to annoying pauses when trying to run simple scripts (probably 500ms latency? Maybe a tad more?). Yaegi cut that latency dramatically. I think you’re right that this may make it slower for larger scripts or for sufficiently large inputs, however the biggest bottleneck for me with jq isn’t performance but learning it’s language repeatedly.
Show HN: gq – like jq or zq, but you use Go
g
github.com
107
errnil
4 years ago
71
comments
Show HN: Hacker News CLI. interactive in Acme
g
github.com
3
errnil
4 years ago
0
comments