Postgres server as a library
blog.davidv.dev·1w
🗄️PostgreSQL WAL
Preview
Report Post

I feel like I just woke up from a fever dream. I’ve spent a large chunk of my waking hours over the last 3 days deep in the Postgres codebase.

Why would you do that to yourself, you may ask. Well, I recently found out about pglite, a project to build Postgres as a WASM(+WASI) blob and use it as a library.

The thing is, I am weirdly driven by cursed projects and spite.

My love of cursedness made me into a WASM fan (LEB128 in an ISA? what could be more cursed than that!), but sometimes there’s such a thing as too cursed, even for me. When they implemented variable-length-instructions for a virtual ISA, I joined the WASM-haters-club.

I have a much longer, much more concrete WASM rant in me, but it’ll require some effort to write down, so now is not th…

Similar Posts

Loading similar posts...