logoalt Hacker News

mpweihertoday at 1:05 PM3 repliesview on HN

This looks really interesting...but why WASM-only? Naively it seems like WASM-ification would be a 2nd step, after lib-ification.

Obviously missing something...


Replies

OvbiousErrortoday at 1:44 PM

If I understand correctly, what this project does is take the actual postgresql sources, which are written in C, compile them to wasm and provide typescript wrappers. So you need the wasm to be able to use the C code from js/ts.

show 1 reply
intrasighttoday at 1:36 PM

WASM means you only need to develop for one target run time. That's my guess as to why.

sauriktoday at 2:36 PM

Yeah... I was super excited by this project when it was first announced--and would even use it from Wasm--but since it ONLY works in Wasm, that seemed way too niche.