Remix.run Logo
OvbiousError 8 hours ago

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.

mpweiher 7 hours ago | parent [-]

Yes. I would like to use the code as a library from something other than js/ts.

mirrir 3 hours ago | parent | next [-]

You can use it in Rust if you like. I've used pglite through wasmer before. Also [pglite-oxide](https://lib.rs/crates/pglite-oxide) is pretty usable.

embedding-shape 3 hours ago | parent | prev | next [-]

Sounds you only need to create the APIs for calling into WASM if so, so as long as your language of choice can do that, you're good to go.

monster_truck 6 hours ago | parent | prev [-]

So compile it and use it?