Submission timeline
2007–2026One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.
First comments on top threads
HN comment orderI helped design an API for "algebraic operations" in Rust: <https://github.com/rust-lang/rust/issues/136469>, which are coming along nicely. These operations are 1. Localized, not a function-wide or program-wide flag. 2. Completely safe, -ffast-math includes assumptions such that there are no NaNs, and violating that is undefined behavior. So what do these algebraic operations do? Well, one by itself doesn't do much of anything compared to a regular operation. But a sequence of them is allowed to be transformed…
Fun fact: when working on Herbie (http://herbie.uwplse.org), our automated tool for reducing floating-point error by rearranging your mathematical expressions, we found that fast-math often undid Herbie's improvements. In a sense, Herbie and fast-math are opposites: one makes code more accurate (sometimes slower, sometimes faster), while the other makes code faster (sometimes less accurate, sometimes more).
Previous discussion here: https://news.ycombinator.com/item?id=29201473 The injunction "Firstly, GCC should address the FTZ library issue: the bug has been open for 9 years, but is still marked NEW." is out of date, a fix is now in-place in the GCC master branch https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522#c45 (possibly prompted by this article). Well worth a read though.
The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.
- Breakout years
- 2
- Total points
- 518
- Total comments
- 332
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2021-11-12 | Beware of fast-mathFirst breakout | simonbyrne | 189 | 107 |
| 2023-02-13 | Beware of fast-math | segfaultbuserr | 5 | 1 |
| 2023-07-24 | Beware of Fast-Math | samwillis | 2 | 0 |
| 2024-05-07 | Beware of -ffast-math and -Ofast | fanf2 | 1 | 0 |
| 2025-05-28 | Beware of Fast-Math | thunderbong | 2 | 0 |
| 2025-05-31 | Beware of Fast-MathHall induction · Best thread · Latest 20+ point return | blobcode | 319 | 224 |
