frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

A search-and-inference database from scratch in pure Zig

https://antfly.io/research/antfly-zig
27•kingcauchy•3d ago

Comments

kingcauchy•3d ago
We rewrote Antfly, which I introduced to the world a little bit back https://news.ycombinator.com/item?id=47414291, from Go to Zig.

Thought it is interesting to juxtapose to the Bun rewrite from Anthropic and wanted to talk about why we went the other way! Would love to talk about our process or the technology!

Benchmarks against are linked in the article but here they are again for posterity https://antfly.io/releases/v0.2

esafak•14m ago
Could you add qdrant and duckdb to the benchmarks?
thefogman•3d ago
I know I should be saying congrats on the new engine, but selfishly I want to hear more about how you did it.

So, the simulator only works if it knows what "correct" looks like and what kinds of failures to throw at the code, right? Who decided those two things? Was it the same agent that wrote the code? Were those human-written, or did they fall out of the formal specs?

You had three things that could each say "this is right", the end-to-end tests, the formal model, and how the old Go version behaved. When they disagreed, which one did you trust? Did the test ever turn out to be the thing that was wrong?

When the simulator caught something before release, was it usually the code that was wrong, or the definition of correct?

Feels like there's some really useful insights about best practices for coding with agents. I wonder if the Bun team used a similar approach if they still would have switched.

kingcauchy•3d ago
We definitely were combining the rewrite with the opportunity to lay foundation for a more performant architecture, for instance index management and indexing autosharding could be resourced together in the new world with slightly different semantics in the apis. So in general if the traces disagree, we can count on the new version being correct (unless the spec was covered by a TLA spec)!

At the moment the reverse is true though, the simulator and what we've captured as ground truth for the desired design has been refined enough in tests and specs that the code is often the one implicated, and most of the bugs have been in code related to caching correctness and are only exposed through soak testing.

In opposition to Anthropic/Bun, we mostly used a hands-on approach to the rewrite and took the opportunity to capture the original design of Antfly into specs and any missing tests one subsystem at a time so we didn't strive to be as hands-off as "let Claude hill-climb on the tests". Especially since the system as a whole is far more dynamic and depends more on scalability, distributed systems stuff than Bun required!

dovin•3d ago
Yeah open question what "perfect" search would even be, like would that just end up being indistinguishable from a kind of magical omniscience? And then there's "can I literally just find that one freaking slideshow from a while ago with that one client... or is it in Google Drive...?" And I really don't want the solution to be that we just plug everything into Claude
kingcauchy•48m ago
I think of perfect from two perspectives, one being "finding things I wanted to find", the other being "findings things I didn't know I wanted to find". I think Claude is great if the data isn't proprietary, secret (an all open-source project) but for dealing with Tax documents on my local machine I would hope that a search for my W2 would also find my 1099 I had forgotten I had, it'd be nice if I didn't have to allow the big AIs into everything to do that.

Android 17 is the first since 3.x to add new APIs without releasing to the AOSP

https://grapheneos.social/@GrapheneOS/117282080803799576
175•theanonymousone•1h ago•80 comments

Korea raises data breach fines to 10% of revenue

https://www.koreajoongangdaily.com/business/korea-raises-data-breach-fines-to-10-of-revenue/12869899
45•throw7•32m ago•10 comments

Cloudflare Quick Tunnels

https://try.cloudflare.com/
419•jcbhmr•6h ago•190 comments

Saving another 100TB of RAM with math (and Rust)

https://blog.cloudflare.com/saving-100-tb-of-ram-with-math/
68•f311a•1h ago•8 comments

Apple releases iPhone Duo simulator and Xcode 27.1 beta

https://developer.apple.com/documentation/xcode-release-notes/xcode-27_1-release-notes
62•CameronBanga•1h ago•24 comments

Cache-to-Cache: Direct Semantic Communication Between Large Language Models

https://arxiv.org/abs/2510.03215
30•rochansinha•1h ago•3 comments

Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug

https://donjon.ledger.com/blog/rp2350-secure-debug-laser-fault-injection/
114•synack•3h ago•33 comments

Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash

https://cactuscompute.com/needle
115•HenryNdubuaku•20h ago•58 comments

The Implications of Linguistic Illegibility for LLM Security

https://arxiv.org/abs/2609.02852
22•tomjakubowski•1h ago•8 comments

OpenJev

https://openjev.com/
481•ilreb•10h ago•231 comments

C++26: Trivial infinite loops are no longer undefined behaviour

https://www.sandordargo.com/blog/2026/09/16/cpp26-trivial-infinite-loops
111•ibobev•23h ago•140 comments

Our brain evolved from two primitive nervous systems that merged: Study

https://www.newscientist.com/article/2589739-our-brain-evolved-from-two-primitive-nervous-systems...
57•Jimmc414•5h ago•33 comments

I vibed a proof of Conway's conjecture

https://overreacted.io/how-i-vibed-a-proof-of-conways-conjecture/
168•m-hodges•5h ago•159 comments

Border agents can search cellphones without a warrant or reasonable suspicion

https://lawandcrime.com/high-profile/the-government-was-entitled-trumps-border-agents-can-now-sea...
98•mmh0000•2h ago•64 comments

The first new cat species discovered in 100 years

https://www.nationalgeographic.com/animals/article/meet-the-first-new-cat-species-discovered-in-1...
55•ohjeez•1d ago•15 comments

Show HN: Ax-check.com – Can agents use your product?

https://www.ax-check.com/
21•0x63_Problems•1d ago•21 comments

Inside ZCode: Silently uploading your Git history to the cloud

https://blog.ferstar.org/en/posts/zcode-silent-workspace-snapshot-upload/
215•csmantle•14h ago•83 comments

Minimal Phone 2

https://minimalcompany.com/
105•nashashmi•18h ago•97 comments

A heap overflow and SSO misconfiguration to compromise OpenAI internal repos

https://www.hacktron.ai/blog/hacking-openai
458•Handy-Man•17h ago•193 comments

North Korean nuclear test sets off years of earthquakes

https://www.science.org/content/article/north-korean-nuclear-test-sets-years-earthquakes
149•rbanffy•5h ago•134 comments

A search-and-inference database from scratch in pure Zig

https://antfly.io/research/antfly-zig
27•kingcauchy•3d ago•6 comments

Cekura (YC F24) Is Hiring

https://www.ycombinator.com/companies/cekura-ai/jobs/AiWwUxI-forward-deployed-engineer-us
1•atarus•8h ago

How SpaceX streamlined the Raptor engine

https://www.construction-physics.com/p/how-spacex-streamlined-the-raptor
88•JumpCrisscross•23h ago•11 comments

US Military had close call after using AI for hallucinated intelligence report

https://www.cnn.com/2026/09/18/politics/us-military-ai-false-intelligence-china-ship
272•realsarm•3h ago•216 comments

Warez: The Infrastructure and Aesthetics of Piracy (2021)

https://archive.org/details/b904a8eb-9c98-4bb1-bf25-3cb9d075b157
49•succinct_ideas•17h ago•6 comments

"From Geometry to Algebra and Back Again: 4000 Years of Papers" by Jack Rusher [video]

https://www.youtube.com/watch?v=1cRFfYQYGxE
4•surprisetalk•1d ago•0 comments

How to Write with an LLM

https://sockpuppet.org/blog/2026/09/17/how-to-write-with-an-llm/
306•joeriddles•22h ago•211 comments

Show HN: Scry, programmable internet search w/ congestion pricing

https://scry.io/
31•Xyra•21h ago•13 comments

Mathematicians Build Long-Awaited Graph Sandwich

https://www.quantamagazine.org/mathematicians-build-long-awaited-graph-sandwich-20260918/
49•ibobev•5h ago•15 comments

Jemalloc 5.4.0

https://github.com/jemalloc/jemalloc/releases/tag/5.4.0
315•gkfasdfasdf•16h ago•83 comments