logoalt Hacker News

dvdkontoday at 11:35 AM3 repliesview on HN

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.


Replies

evelanttoday at 12:25 PM

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

show 2 replies
tdrztoday at 12:43 PM

Native library is on our radar!

worthless-trashtoday at 11:54 AM

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.