top | item 46147579 (no title) OvbiousError | 2 months 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. discuss order hn newest mpweiher|2 months ago Yes. I would like to use the code as a library from something other than js/ts. mirrir|2 months ago 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|2 months ago 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. load replies (1) monster_truck|2 months ago So compile it and use it?
mpweiher|2 months ago Yes. I would like to use the code as a library from something other than js/ts. mirrir|2 months ago 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|2 months ago 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. load replies (1) monster_truck|2 months ago So compile it and use it?
mirrir|2 months ago 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|2 months ago 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. load replies (1)
mpweiher|2 months ago
mirrir|2 months ago
embedding-shape|2 months ago
monster_truck|2 months ago