3 ms·
oh hey Will! long time no see lol, it's been ages. small world. i think this is on a good track! i like that it's designed to be extensible while still keeping
by jynelson 1y ago
oh hey Will! long time no see lol, it's been ages. small world.
i think this is on a good track! i like that it's designed to be extensible while still keeping some amount of structure, and that the DSL makes things very compact. how are those filters implemented? are you spawning a shell to run jq or are you interpreting in-process or something like that?
in general i'd love to see a bunch more DSLs, i think using general-purpose languages for everything is most of the time not actually helpful (cc https://jyn.dev/constrained-languages-are-easier-to-optimize/#what-does-a-faster-general-purpose-language-look-like https://jyn.dev/constrained-languages-are-easier-to-optimize...). i have some vague thoughts about how to make interop between DSLs and the host language easier but i need to think about them some more.
- williamcotton 1y ago> how are those filters implemented? are you spawning a shell to run jq or are you interpreting in-process or something like that? Interpreting in-process. There's a jq C lib, libjq-dev. I hope you're doing well! I've very much enjoyed your recent blog posts.