Content pfp
Content
@
0 reply
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
Should Ponder replace SQLite with PGlite (pglite.dev) as the dev database? Pros: 1) Less magic/astonishment ("wait, what database am I using rn?") 2) Simpler schema definition API (currently stuck with the subset of stuff that both PG and SQLite support)
10 replies
3 recasts
142 reactions

Fucory pfp
Fucory
@fucory
Sqllite I like because the path to ponder running in the background of a local first app is more clear
3 replies
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
Good point. I'm actually not too worried about it though, seems like PGlite is very focused on browser support (WASM-first). If anything a "con" for PGlite is that it's *too* focused on running in the browser, and they might deprioritize Node.js/Bun (where Ponder is more certain to run).
2 replies
0 recast
1 reaction

max ⚡ pfp
max ⚡
@maxp.eth
should ponder run in bun currently?
1 reply
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
No, doesn't work and we can't figure out why. Process exits shortly after startup with no meaningful error code/message. I have a strong hunch it has to do with `better-sqlite3` actually, so non-zero chance that moving to PGlite would also unblock Bun support. (github.com/ponder-sh/ponder/issues/442)
1 reply
0 recast
2 reactions

max ⚡ pfp
max ⚡
@maxp.eth
then i'm all for it lol, would love bun to work here
0 reply
0 recast
2 reactions