Hacker News new | past | comments | ask | show | jobs | submit login
PostgreSQL WASM Extension (medium.com)
56 points by eloycoto 52 days ago | hide | past | web | favorite | 2 comments



Neat. Though I don't think the real thing to compare it against here is pl/pgsql, which was never designed for speed - it's pl/v8.

Of course, a postgres extension language really lives and dies by the amount of postgres functionality it actually exposes. pl/v8 scores particularly well here, exposing even more than pl/pgsql (allowing e.g. advanced window functions to be built). It would be amazing to be able to do this sort of thing without being restricted to JS.

It will also be interesting to see what happens when JITted extension languages like this start to meet in the middle with postgres' own nascent JITted query plan support as it grows...


> It will also be interesting to see what happens when JITted extension languages like this start to meet in the middle with postgres' own nascent JITted query plan support as it grows...

Does Postgres actively measure the performance of stored procedures and use that for future cost estimates? I thought most of these timing stats are off by default.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: