5 ms·
I think this is a neat direction to explore. I've wondered in the past whether you could use https://pglite.dev/ https://pglite.dev/ as if it were SQLite.
by emschwartz 1y ago
I think this is a neat direction to explore. I've wondered in the past whether you could use https://pglite.dev/ https://pglite.dev/ as if it were SQLite.
- thruflo 1y agoThis is very much the point of https://pglite.dev https://pglite.dev It's an embeddable Postgres you can run in process as a local client DB, just like SQLite but it's actually Postgres.
- OutOfHere 1y agoI wish this were available for Go lang, perhaps via Wazero.
- emschwartz 1y agoFor sure. I’m curious if anyone using it in production as an alternative to SQLite and, if so, what the performance and experience is like.
- tensor 1y agoSomeone is working on a libpglite based around pglite. I think this is what will provide an actual sqlite alternative: https://github.com/electric-sql/pglite-bindings https://github.com/electric-sql/pglite-bindings It would still be missing the standardized disk format aspect of sqlite, but otherwise will be neat.
- markusw 1y agoInteresting! I'm going to look into that. :-) Thank you for sharing.
- xarope 1y agoYou got my hopes up, but it's WASM for now, not something I could add into a golang [1] or python app and have running like sqlite. OK, still hoping...! [1]https://github.com/electric-sql/pglite/issues/89 https://github.com/electric-sql/pglite/issues/89