Herbgrind analyzes binaries to find inaccurate floating point expressions
1–10 of 14 posts
Re: Herbgrind analyzes binaries to find inaccurate floating point expressions
#2Re: Herbgrind analyzes binaries to find inaccurate floating point expressions
#3Re: Herbgrind analyzes binaries to find inaccurate floating point expressions
#4Is it just me, or does the website not say which OSes it supports?
Re: Herbgrind analyzes binaries to find inaccurate floating point expressions
#5Re: Herbgrind analyzes binaries to find inaccurate floating point expressions
#6Wow, didn't expect this tool to be on Hacker News six years after publication! Herbgrind author here, ask me any questions you like! Also, if you're interested in this stuff, the Herbie project (which I also worked on) for numerical program synthesis is also really helpful for writing numerical code, and has had a lot of development over the years.
Re: Herbgrind analyzes binaries to find inaccurate floating point expressions
#7Wow, didn't expect this tool to be on Hacker News six years after publication! Herbgrind author here, ask me any questions you like! Also, if you're interested in this stuff, the Herbie project (which I also worked on) for numerical program synthesis is also really helpful for writing numerical code, and has had a lot of development over the years.
[1] https://solvespace.com/index.pl
There are hundreds of numerical algorithms in there, and we have some bugs that might be related to this kind of implementation error.
Re: Herbgrind analyzes binaries to find inaccurate floating point expressions
#8Wow, didn't expect this tool to be on Hacker News six years after publication! Herbgrind author here, ask me any questions you like! Also, if you're interested in this stuff, the Herbie project (which I also worked on) for numerical program synthesis is also really helpful for writing numerical code, and has had a lot of development over the years.
I've tried out HerbGrind but it often gets stuck and reports an error E_STONED.
Re: Herbgrind analyzes binaries to find inaccurate floating point expressions
#9Wow, didn't expect this tool to be on Hacker News six years after publication! Herbgrind author here, ask me any questions you like! Also, if you're interested in this stuff, the Herbie project (which I also worked on) for numerical program synthesis is also really helpful for writing numerical code, and has had a lot of development over the years.
Is it feasible to run this on something large like Solvespace[1] (CAD) which is ~5MB executable? Or would we just get an insanely long list of issues? [1] https://solvespace.com/index.pl There are hundreds of numerical algorithms in there, and we have some bugs that might be related to this kind of implementation error.
But Herbgrind is a heavyweight dynamic binary analysis using the Valgrind framework, so the slowdown it imposes on the runtime might be prohibitive for debugging some programs which take a while to compute their results.
Re: Herbgrind analyzes binaries to find inaccurate floating point expressions
#10Wow, didn't expect this tool to be on Hacker News six years after publication! Herbgrind author here, ask me any questions you like! Also, if you're interested in this stuff, the Herbie project (which I also worked on) for numerical program synthesis is also really helpful for writing numerical code, and has had a lot of development over the years.
Of course herbie is already good step here, but it is still somewhat niche.