News for hackers. Stuff that matters.
Re:Scaling PostgreSQL to power 800M ChatGPT users by ninkendo on Friday January 23, 2026 @11:13AM (#46734215)
It’s a compile-time check, and yeah it’s a lint rule. In fact it goes a little deeper than a lint can go, because it uses data from earlier compiler phases (in order to get access to what the borrow checker knows.) The correct terminology is a “rustc driver” from what I’ve heard. Lints like clippy run as a “LateLintPass”, which doesn’t have access to certain mir data that is intentionally deleted in earlier phases to lower the memory requirements.

Hopefully it’s something I can open source soon (I may upstream it to the sqlx project, as that is what we’re using for db connections.)

Re:Scaling PostgreSQL to power 800M ChatGPT users by deepbluev7 on Saturday January 24, 2026 @01:20PM (#46746064)
I would love to see how you implemented that (and also the lint itself). I so far haven't found a solid way to implement custom lints for Rust, so if you have any resources to share at some point, I would love to see them!
Re:Scaling PostgreSQL to power 800M ChatGPT users by tasn on Tuesday January 27, 2026 @11:27AM (#46782169)
Very cool, thanks for sharing! Please let me know if you end up open sourcing this!