News for hackers. Stuff that matters.
Re:Hacking the Postgres Wire Protocol by jitl on Tuesday April 15, 2025 @11:31AM (#43694250)
What do you mean?
Re:Hacking the Postgres Wire Protocol by mdaniel on Tuesday April 15, 2025 @09:25PM (#43700413)
Unless the system that wishes to consume tree-sitter grammars has access to a linker, it being written in C, and then compiled to machine code, gravely limits the places it can be consumed. That's in contrast to any one of the hundreds of grammar compiler compiler systems that allow targeting a platform of choice without mandating a platform of choice. I do see that tree-sitter alleges to emit wasm, but I am not deep enough in that ecosystem to know if it means "wasm for the browser," or "wasm for extism[1]," or "wasm, but if you already have WASI" or what

1: e.g. https://github.com/1Password/onepassword-sdk-go/blob/v0.2.1/...