▲ | emschwartz 3 days ago | |||||||||||||||||||||||||||||||
I think this is a neat direction to explore. I've wondered in the past whether you could use https://pglite.dev/ as if it were SQLite. | ||||||||||||||||||||||||||||||||
▲ | tensor 3 days ago | parent | next [-] | |||||||||||||||||||||||||||||||
Someone 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 It would still be missing the standardized disk format aspect of sqlite, but otherwise will be neat. | ||||||||||||||||||||||||||||||||
▲ | thruflo 3 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
This is very much the point of 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. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
▲ | xarope 3 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
You 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...! | ||||||||||||||||||||||||||||||||
▲ | markusw 3 days ago | parent | prev [-] | |||||||||||||||||||||||||||||||
Interesting! I'm going to look into that. :-) Thank you for sharing. |