top | item 46146437

(no title)

dvdkon | 2 months ago

This is very cool. Having to always set up a server is one major downside of Postgres, with cumbersome updates being the second. This solves the first and has potential to help with the second.

Is there a way to compile this as a native library? I imagine some of the work should be reusable.

discuss

order

evelant|2 months ago

Yes! I (experimentally) compiled and packaged it for react-native. Postgres on iOS and Android https://github.com/electric-sql/pglite/pull/774

samwillis|2 months ago

This is such awesome work! We *are* going to get this integrated with the ongoing work for "libpglite".

patwolf|2 months ago

Glad to see it working in react native. It always surprises me that RN doesn't natively support wasm. I've had to avoid other wasm-based libraries, like loro, for that reason.

worthless-trash|2 months ago

Took the words out of my mouth, i can think of many use cases for this.

Imagine being able to go from 'embedded' to 'networked' without having to change any SQL or behavior, so cool.

tdrz|2 months ago

Native library is on our radar!