Beeg float library, a Rust port of Fabrice Bellard's libbf
serialx
18 points
12 comments
July 05, 2026
Related Discussions
Found 5 related stories in 681.9ms across 14,015 title embeddings via pgvector HNSW
- Bun is being ported from Zig to Rust SergeAx · 352 pts · May 05, 2026 · 50% similar
- Mlibc: A fukk-featured portable C standard library fanf2 · 17 pts · June 26, 2026 · 49% similar
- Port React Compiler to Rust boudra · 120 pts · June 10, 2026 · 47% similar
- Bun ported to Rust in 6 days qprofyeh · 99 pts · May 09, 2026 · 47% similar
- Beagle, a source code management system that stores AST trees strogonoff · 87 pts · March 08, 2026 · 47% similar
Discussion Highlights (4 comments)
RossBencina
EDIT: I see that libbf implements faithful rounding of operations. Nice. TIL. See also: Jean-Michel Muller's books: "Handbook of Floating Point Arithmetic," and "Elementary Functions." https://www.sollya.org/
i2talics
"Dear HN, I pointed Claude at another existing codebase and told it to port it to Rust. I don't have anything new to add myself. Please lap this up."
lifthrasiir
Just in case, this is my library and I didn't post this to the HN, because I didn't think this is that HN-worthy. Ask me anything anyway. My main motivation to port libbf was to see if it is faster than usual libraries available in Rust, and yes, some operations are indeed faster than others, but it was tough to compare against Rug which uses MPFR under the hood. I did fully design the library API beforehand and explicitly directed the documentation, testing and benchmark tasks, but of course all the brilliance of the library comes from Fabrice Bellard and not me.
fcpk
uh... that title... don't search for what the hell a "Beeg" is. apparently this was just sloppy spelling for beef