Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #7680

K

Krister Walfridsson

Personal blog · kristerw.github.ioprogrammingsystems

Krister Walfridsson's personal blog at kristerw.github.io covers programming and systems. Since 2021, 10 different Hacker News readers have linked it 19 times, most often “Verifying GCC optimizations using an SMT solver”. It is still writing: the last post was on 2026-04-10, and you can follow it by feed.

Visit the blog
19mentions?
10HN people?
2021–2026first – last linked?
Links on Hacker News per year · peak 10 in 2022

Too few sampled comments (3) to say how often HN recommends it.?

Why HN links it

Linked for explanations of floating-point behaviour, fast-math and FMA contraction in compilers. One commenter calls it a post that gets the same information across with fewer words than another post on the topic.

Summarised by Claude from a sample of 3 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

Compilers, programming languages, etc.

Most-linked posts?

  1. Verifying GCC optimizations using an SMT solver
    3 people · 3 mentions · first linked 2022-11-02
  2. -ffp-Contract=Fast
    3 people · 3 mentions · first linked 2021-11-09
  3. Optimizations Enabled by -ffast-Math
    3 people · 3 mentions · first linked 2021-10-19
  4. Branch/Cmove and Compiler Optimizations
    2 people · 2 mentions · first linked 2022-05-24
  5. GCC Translation Validation
    2 people · 2 mentions · first linked 2022-09-14

What Hacker News says?

  1. 2001 - GCC 3.0: - Introduction of `-ffast-math`: The `-ffast-math` flag was introduced, enabling aggressive floating-point optimizations at the cost of strict IEEE compliance. 2004 - GCC 3.4: - Refinements and Extensions: Additional optimizations added, including better handling of subnormal numbers and more aggressive operation reordering. 2007 - GCC 4.2: - Introduction of Related Flags: `-funsafe-math-optimization…

    Comment linking /

    on “Someone's been messing with Python's floating point subnormals”
  2. Submitted Optimizations Enabled by -ffast-Math as a story · 209 points

    HN discussion
  3. The actual rules are very complicated. C allows greater precision for intermediate results but compilers are sometimes careful to stick to IEEE rounding. [1] contains a good general overview, and [2] talks about FMA in particular. And in [3] I've set up a Godbolt example to play with. By default -O3 gives you FMA, but -O or -O3 with -ffp-contract=off don't. So you absolutely can get different results depending on op…

    Comment linking /2021/11/09/fp-contract/

    on “Race Conditions Can Be Useful for Parallelism”
  4. Submitted Verifying GCC optimizations using an SMT solver as a story · 121 points

    HN discussion
  5. bla3 · 2021-12-09Recommends
    Recent post on the same topic that gets the same information across with fewer words: https://kristerw.github.io/2021/10/19/fast-math/

    Comment linking /2021/10/19/fast-math/

    on “Understanding Fast-Math”
  6. Submitted Branch/Cmove and Compiler Optimizations as a story · 83 points

    HN discussion
  7. Submitted Writing a GCC Plugin in Python as a story · 3 points

    HN discussion
  8. Submitted Strange behavior with NaN and -ffast-math as a story · 3 points

    HN discussion
  9. Submitted -ffp-Contract=Fast as a story · 2 points

    HN discussion
  10. Submitted Verifying GCC optimizations using an SMT solver as a story · 2 points

    HN discussion
  11. Submitted GCC Translation Validation 2: Verifying GCC optimizations using an SMT solver as a story · 2 points

    HN discussion
  12. Submitted Writing a GCC Plugin in Python as a story · 2 points

    HN discussion
  13. Submitted Branch/Cmove and Compiler Optimizations as a story · 2 points

    HN discussion
  14. Submitted -ffp-Contract=Fast as a story · 2 points

    HN discussion
  15. Submitted GCC Translation Validation Part 6: Uninitialized Memory as a story · 1 points

    HN discussion
  16. Submitted GCC Translation Validation Part 4: Address Calculations as a story · 1 points

    HN discussion
  17. Submitted GCC Translation Validation as a story · 1 points

    HN discussion
  18. Submitted GCC Translation Validation as a story · 1 points

    HN discussion
  19. Submitted Optimizations Enabled by -ffast-Math as a story · 1 points

    HN discussion

Search all of HN for kristerw.github.io

Linked by the same people?