Hacker News·First covered 25 Nov 2026
Marginalia Search, Money, C++, Rust, AI, Stuff
The developer of Marginalia Search reports rising donations and API-key sales, a slow experimental port of the index from Java to C++, and why they will not let AI write it.
Stats
(As of 25 Nov 2026)- Points
- 207
- Comments
- 78
- Submitted by
- Curiositry
- Posted
- 14h
- SerpApi sponsored the project with $10k, and other donations and key sales have grown monthly since summer; it is not yet self-sustaining.
- Free API keys can take a week or two, because every request is handled by hand.
- The index is CPU-bound, and Java's off-heap handling forces duplicate sorting and searching code; the buffer pool and part of the inverted index are now in C++.
- The author chose C++ over Rust out of experience rather than language merit, and may still drop the port.
- They decline AI translation because they could not maintain the result and will not depend on a subscription whose prices could rise.
The discussion
- AgreedMany backed the independence argument, treating a permanent AI subscription like renting from a landlord. comment
- CounterpointA reply argues the author overrates the difficulty, since you can ask a model to simplify and explain its code until it is maintainable. comment
- ThemeSeveral suggested modern C# as an alternative with good native-memory support, one citing 30% to 300% speedups after porting. comment
- DisputedCommenters split on whether the JVM is really the bottleneck, with one reply arguing Java is fast enough once the JIT warms up. comment