frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

pgrust passes 100% of the Postgres regression tests

https://malisper.me/pgrust-passes-100-of-postgresqls-regression-tests/
16•tosh•56m ago

Comments

ivanjermakov•38m ago
> The goal is to make Postgres easier to change from the inside <...>

Easier because it's in Rust and not in C?

If LLMs are good enough to rewrite C to Rust, why not just use it to change C directly?

Would be nice to see some research compairing LLMs performance on the "same" codebase where the only difference is the language.

ShinTakuya•33m ago
I don't support this idea of rewriting everything in Rust but the answer to your question should be fairly obvious. Rust that compiles will generally be stable assuming you don't do a bunch of unwraps and panics. C that compiles can seem fine until it isn't.

LLMs still aren't as good at detecting C memory management issues as an experienced developer. With Rust, that doesn't matter as much because generally the compiler will tell the LLM when it's wrong.

takamoto•32m ago
Your regression tests can't catch every type of pointer, memory and undefined behavior failure so passing the tests after a change means less if the language is C than if the language is rust since rust has far fewer allowances.
criley2•32m ago
>If LLMs are good enough to rewrite C to Rust, why not just use it to change C directly?

One part of how LLMs can deliver quality code isn't the LLM itself, but the environment. Linting rules, automated tests, compilers, or other tools that give the LLM feedback during agentic engineering.

Rust has a lot more feedback than C about memory safety out of the box, meaning that it's a lot easier for an LLM (or human) to write memory safe code using it.

mawadev•30m ago
They are large language models, they can translate very well, but they cannot form original changes without heavy supervision/review and indefinite feedback loops. Most of these projects you see are just a way to gather attention or justify technology that is flawed at a fundamental level for the use case it pretends to be good for. Rust in particular has a very strict compiler and a lot of tokens/language features/syntax that hint at specific behavior tightening the feedback loop.

Maybe I'm very uneducated on this, but what exactly is the problem with postgres in its current state? Why do you need rust to make changes easier?

The only justification I see here is this claim and it is nowhere published or verifiable:

"Update: We're working on a new not yet published version of pgrust that currently passes 100% of Postgres regression suite, has a thread per connection model instead of process per connection, is 50% faster than Postgres on transaction workloads, and is ~300x faster than Postgres on analytical workloads (2x slower than Clickhouse on clickbench and we think it can get faster than Clickhouse). Follow pgrust or join our Discord for updates!"

ottavio•36m ago
Again pgrust?

This is going tò look like The Revenge of Zealots...

Surac•35m ago
for me rust is more cognitive load than c, so you lost at least one to change it from the inside.

Naïve Art

https://en.wikipedia.org/wiki/Na%C3%AFve_art
1•o4c•6m ago•0 comments

Companies are struggling to hire competent software developer

https://twitter.com/GergelyOrosz/status/2071105819089973716
1•USTECH_WORKER•9m ago•0 comments

All Your Favorite Gadgets Are Getting More Expensive Again

https://www.wired.com/story/we-are-in-the-knockout-round-of-price-increases-for-consumer-electron...
1•tosh•10m ago•0 comments

Show HN: AI assistant for Google Chat to translate any file preserving layout

https://workspace.google.com/marketplace/app/anyfile_translator/960750725467
1•robgehring•10m ago•0 comments

Show HN: Parlan – a new programming language for fun

https://github.com/parlan-lang/parlan
1•Santiago-Lopez•12m ago•1 comments

Self-Hosting Umami with Cloudflare, Fly, and Supabase

https://hjerpbakk.com/blog/2026/07/11/self-hosting-umami
1•Sankra•12m ago•0 comments

Einride: Freight Platform Has Enough Early Traction

https://seekingalpha.com/article/4921116-einride-freight-platform-has-enough-early-traction
1•kamil55555•14m ago•0 comments

I built a free Wordle × GeoGuessr for the stock market

https://benginn.github.io/stockguesser/
1•obepozdemir•18m ago•0 comments

Show HN: Andurel Web Framework Releases v1.0.0

https://github.com/mbvlabs/andurel
1•mbvisti•22m ago•0 comments

ChatGPT Work

https://openai.com/chatgpt-work/
2•modinfo•24m ago•0 comments

Gene-edited babies are now closer. The ethical debate is far from settled

https://www.cnn.com/2026/07/08/science/human-embryo-gene-editing
1•giuliomagnifico•27m ago•0 comments

New dinosaur species as long as cricket pitch discovered in Thailand

https://www.bbc.com/news/articles/crely7g8xepo
1•zdkaster•27m ago•0 comments

Element 26.07.3, a Matrix client, adds content scanning infrastructure

https://github.com/element-hq/element-x-ios/releases/tag/release%2F26.07.3
1•nickslaughter02•27m ago•1 comments

Skill nostalgia - The radical reasons why you dream of making things by hand

https://aeon.co/essays/the-radical-reasons-why-you-dream-of-making-things-by-hand
3•pseudolus•28m ago•0 comments

Ofcom Wants American Police to Collect Its Speech Fine

https://reclaimthenet.org/ofcom-wants-american-police-to-collect-its-speech-fine
2•delichon•31m ago•1 comments

Show HN: Axletic – a local-first workout tracker for iPhone

https://www.axletic.app
1•bjar2•31m ago•0 comments

Larry Page: "I think we should look into acquiring (2005) [YouTube]

https://twitter.com/TechEmails/status/1433837480449613839
2•downbad_•32m ago•0 comments

China recovered its first reusable rocket and showed a new way to do it

https://arstechnica.com/space/2026/07/china-recovered-its-first-reusable-rocket-and-showed-a-new-...
5•pseudolus•32m ago•0 comments

fastcore v2

https://github.com/AnswerDotAI/fastcore
1•tosh•33m ago•0 comments

Show HN: Find introduction path between you and someone you want to reach

https://reloadium.com/reloadium-contacts/
1•julienreszka•36m ago•1 comments

AI Surveillance and Social Progress

https://www.schneier.com/blog/archives/2026/07/ai-surveillance-and-social-progress.html
2•ahamez•37m ago•0 comments

Jelly Trim ReviEwS (2026): We Tried It My Honest Review

https://gamma.app/embed/Jelly-Trim-ReviEwS-2026-We-Tried-It-My-Honest-Review-53eqnkqqiyo7hbs
2•nahqsakr•37m ago•0 comments

An Ex‑Apple Designer Built an EV with No Doors and a Top Speed of 40 MPH

https://www.inc.com/connor-jewiss/an-ex-apple-designer-built-an-ev-with-no-doors-and-a-top-speed-...
2•connorjewiss•41m ago•2 comments

Trident – macOS menu-bar utility that remaps trackpad gestures

https://github.com/cyanyux/trident
2•cyanyux•42m ago•0 comments

Show HN: Python SDK for signing digital content with revocable signatures

https://github.com/lyfeninja/lyfeninja_blkseal_python_sdk
1•lyfeninja•46m ago•0 comments

Karpathy LLM Wiki (Obsidian Plugin)

https://llmwiki.greenerai.top/
1•rahimnathwani•50m ago•0 comments

OptiAir Portable Cooler ReviEwS (July 2026): We Tried It My Honest Review

https://gamma.app/embed/OptiAir-Portable-Cooler-ReviEwS-July-2026-We-Tried-It-My-Honest-R-llbyvuc...
2•gaxyjaik•50m ago•0 comments

World-War-Ⅱ-era telephone line still in use in Upper Tanana Valley Alaska (2021)

https://www.sketchesofalaska.com/2021/03/world-war-ii-era-telephone-line-still.html
2•Lammy•51m ago•1 comments

Who cleans up after the vibe-coding party?

https://www.ft.com/content/cec8df9e-b43b-4cd1-8feb-c07e804e8d33
2•msephton•52m ago•1 comments

Page Weight Matters

https://nh3.dev/blog/05-bloat
2•birdculture•52m ago•1 comments