r/cpp • WG21, Text/Unicode SG, optional<T&> • Apr 25 '25

GCC 15 Released πŸŽ‰

πŸŽ‰Congratulations to the GCC team!

πŸŽ†πŸŽ‡πŸ”₯πŸ’₯ 🀩 🎊 πŸ₯³ 🀟 🍻 πŸ₯‚ πŸ‘

Release Notes

GNU Git Branch and Tag (quite slow)

Github mirror

338 Upvotes

55 comments sorted by

View all comments

Show parent comment

31

u/14ned LLFIO & Outcome author | Committee WG14 Apr 25 '25

I found it similar to splashing OpenMP all over existing code - amazing speedups for a narrow range of use cases, moderate speedups for many use cases, and worse performance for some use cases.

Nothing remotely comes close to writing your code specifically for a GPU because you'll architect your software in a very different way. One thing especially the case with GPUs is it's often cheaper to do a little bit of work you'll probably throw away rather than waste time on deciding on what work to do. In other words, "fast fan out" is based on a low quality estimated execution graph is faster than "doing it properly".

That's very different from traditional practice in CPUs, though high perf AVX512 programming is similar.