Live data from Hacker News

PGlite – Embeddable Postgres

pglite.dev

1–10 of 118 posts

Re: PGlite – Embeddable Postgres

#6
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.

Re: PGlite – Embeddable Postgres

#7
post #5

It's cool that this is possible, is this just for fun or are there good use-cases for this?

Hmm single user website run as HTML from some folder? I guess you could embed this from s3 for multiple users but probably this would be like running multiple engines from the same dir.

Re: PGlite – Embeddable Postgres

#8
post #5

It's cool that this is possible, is this just for fun or are there good use-cases for this?

Hmm single user website run as HTML from some folder? I guess you could embed this from s3 for multiple users but probably this would be like running multiple engines from the same dir.

> Hmm single user website run as HTML from some folder?

Why not just sqlite then?

Re: PGlite – Embeddable Postgres

#10
post #4

Embeddable (into JS et al)

There are projects such as https://github.com/wasmerio/wasmer-java and https://wasmtime.dev/ that extend this embeddability to Java, .net, C, C++, rust, Python, Ruby and Go. Wouldn't want to call those 'JS et al'.

Ofcourse, that ignores the fact that for many of these languages there are existing libraries and drivers to connect to databases that would not work with this embedded one, but still.

Post reply on HN