Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bouk
30 days ago
|
parent
|
context
|
favorite
| on:
A Faster Alternative to Jq
I highly recommend anyone to look at jq's VM implementation some time, it's kind of mind-blowing how it works under the hood:
https://github.com/jqlang/jq/blob/master/src/execute.c
It does some kind of stack forking which is what allows its funky syntax
functional_dev
30 days ago
|
next
[–]
The backtracking implementation in jq is really the secret sauce for how it handles those complex filters without getting bogged down
vbezhenar
30 days ago
|
prev
[–]
Looks like naive implementation of homemade bytecode interpreter. What's so mind blowing about that? Maybe I missed something.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
It does some kind of stack forking which is what allows its funky syntax