Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

100% Positive

Analyzed from 247 words in the discussion.

Trending Topics

#library#didn#anything#rust#don#existing#anyway#port#libbf#faster

Discussion (11 Comments)Read Original on HackerNews

lifthrasiirabout 6 hours ago
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.

RossBencinaabout 7 hours ago
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/

fcpkabout 2 hours ago
uh... that title... don't search for what the hell a "Beeg" is. apparently this was just sloppy spelling for beef
lifthrasiirabout 2 hours ago
Beeg is just a respelled version of "big" ("ee" for /i:/). Apparently it is also a name of a certain questionable website (I didn't know!), but it is a common enough word that such unfortunate conflicts are to be expected.
jhgbabout 2 hours ago
You can simply check Wiktionary, like you can with most words.
i2talicsabout 7 hours ago
"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."
codetigerabout 7 hours ago
You can say something similar if someone had hand written it and reimplemented an existing library in new language. "This is just a reimplementation of existing library to Rust, I don't have anything new to add myself." Also its never as simple as a single prompt, it goes beyond it if the user really cares.
WesolyKubeczekabout 6 hours ago
The expectation of ongoing maintenance for oneshotted LLM rewrites is zero or negative.
lifthrasiirabout 6 hours ago
It wasn't one-shotted by the way, but if you have a provably correct and comprehensive library there are not many things to maintain anyway.