Reverse-Engineering Kevin J. Lang's Lost OCaml Code in Apache DataSketches

tison 46 points 3 comments November 16, 2026
www.tisonkun.io · View on Hacker News

Discussion Highlights (3 comments)

hellerve

That’s quite fun, thanks! (Not super far yet) For some of these lookup tables, I wonder why we wouldn’t just use a macro to generate them (the deterministic ones like Huffman encodings, not the Monte Carlo ones) instead of hardcoding and then using the algorithm in the test. But maybe I’m just being a macro fiend again.

joonfjp

I imagine we'll start to find magic constants everywhere..

aryonoco

Very fun read. RIP Kevin Lang https://www.smithfh.com/obituaries/kevin-lang

Semantic search powered by Rivestack pgvector
3,874 stories · 35,194 chunks indexed