5 ms·
Question, does having it in pure rust, opens possibility of embedding pgrust directly into binary, making it an alternative to SQLite/turso?
by patkepa 1mo ago
Question, does having it in pure rust, opens possibility of embedding pgrust directly into binary, making it an alternative to SQLite/turso?
- malisper 1mo agoIt absolutely can be embedded. The bigger enabler is replacing the process-per-connection model with a thread-per-connection model. Projects like pglite[0] had to give up concurrency because of it. We also support compiling to wasm so you can embed it in the browser too, which is what powers pgrust.com [0] https://github.com/electric-sql/pglite https://github.com/electric-sql/pglite [1] https://pgrust.com/ https://pgrust.com/
- wkoszek 1mo agoI'd help with testing if you helped them add this. I'd be interested in this.
- ComputerGuru 1mo agoLook into tursodb for this.