Unofficial Hacker News companion — get notified on comment replies, and more.

Marginalia Search, Money, C++, Rust, AI, Stuff (opens external site)

228 points by Curiositry 6 days ago | www.marginalia.nu | 85 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (1)

  1. I did something similar to the author and my impression is that the JVM is not the bottleneck. The search engine is 75 GB SQLite db with full text search. The hot loops all live in the native code: SQLite C for postings and BM25, ONNX Runtime for the reranker. Kotlin is the glue, scoring the finalists and the HTTP side, for this it works fine.