logoalt Hacker News

Rethinking Database Programming

56 pointsby honungsburktoday at 7:28 AM10 commentsview on HN

Comments

pelagicAustraltoday at 9:34 AM

So this is capable of turning a one-liner of SQL into six lines of barely readable code?

mjaniczektoday at 10:08 AM

Having reusable functions and pipelines compiling to SQL sounds amazing. (EDIT: and sum types!) Will want to try this out on some side project later.

Although for my Elm + backend needs I feel like I still prefer Lamdera: https://dashboard.lamdera.app/ - WebSocket communication and being able to push new data to clients immediately instead of juggling HTTP endpoints and the client having to pull/refresh. `sendToBackend`, `sendToFrontend`, `broadcast` are a great primitive.

raumgeisttoday at 9:58 AM

Looks very nice. Last year I took up rust, coming from c++, and some of the modern features rust brings are just so nice to have (even something as simple as not having to forward declare a class).

This year I started working with postgres and you just can't help but notice how sql is coming from the c-Era of programming. Having better and more modern ways to express my queries would be great to improve correctness and performance.

show 1 reply
nylonstrungtoday at 10:01 AM

For columnar databases, I love Vortex' Dtypes which lets you attach semantic context in a logical type to what is essentially compressed Arrow https://docs.vortex.dev/concepts/dtypes#logical-types

DarkNova6today at 9:55 AM

I was hoping for an alternative to PLSQL or stored procedures. But this isn’t about „Database Programming“, it’s a SQL replacement…

honungsburktoday at 7:28 AM

New functional query language for PostgreSQL and SQLite by Evan Czaplicki the author of Elm

ArtemKhymenkotoday at 9:07 AM

Pretty nice, thanks

someladytoday at 9:14 AM

Exciting news!! Love Elm, can't wait to use it more

DarkNova6today at 9:35 AM

It looks like the HN hug of death has found a new victim

show 1 reply