News for hackers. Stuff that matters.
Re:Happy 10th Birthday Compiler Explorer by mk12 on Sunday May 22, 2022 @02:12PM (#31471079)
Congratulations! Compiler Explorer has been immensely useful to me over the years. I often use it to reassure myself that simple code optimizes as expected (so manual optimization would not just be premature, but pointless). It inspired me to build a similar tool at work for FIDL: https://fuchsia.googlesource.com/fidlbolt/+/refs/heads/main. I believe your last name has become a noun too — I sometimes forget it’s called Compiler Explorer since everyone I know just calls it Godbolt.
Re:Happy 10th Birthday Compiler Explorer by mattgodbolt on Sunday May 22, 2022 @06:34PM (#31473480)
Oh my gosh. Thanks for all the lovely comments! I'll definitely be saving these up for any dark moments! Thanks all!
Re:Happy 10th Birthday Compiler Explorer by ziml77 on Sunday May 22, 2022 @07:14PM (#31473747)
I don't have a cohesive enough thought to make a top level comment, but I want to add another thumbs up for Compiler Explorer. It's been awesome and I love all the compiler and language options. Thank you for making and hosting such a useful tool!
Re:Happy 10th Birthday Compiler Explorer by AndrewOMartin on Monday May 23, 2022 @05:49AM (#31476974)
Compiler Explorer is one of the few things that makes me want to work in a lower level language than Python.
Re:Happy 10th Birthday Compiler Explorer by koala_man on Sunday May 22, 2022 @04:09PM (#31472230)
One of my favorite moments at work was coming back to see half the team gathered around one computer, chuckling to each other.

The guy at the keyboard said "now watch this!", hit a few keys, and the team erupted in raucous laughter.

I went over to see what they were looking at. It was an assembly listing from Compiler Explorer.

Re:Happy 10th Birthday Compiler Explorer by marcianx on Sunday May 22, 2022 @04:59PM (#31472720)
I wonder whether he was demonstrating this: https://youtu.be/w0sz5WbS5AM?t=1168
Re:Happy 10th Birthday Compiler Explorer by vchuravy on Sunday May 22, 2022 @02:50PM (#31471447)
"Just godbolt it" has indeed become a phrase in my circle. Compiler explorer is a great reminder that sometimes it is indeed about the UX for system tools that allows you to make a huge impact
Re:Happy 10th Birthday Compiler Explorer by injidup on Sunday May 22, 2022 @02:41PM (#31471357)
I'm training a new hire in C++ at the moment. I always go to compiler explorer when I break out a new concept for him. We can workshop the problem in isolation quickly and simply and then bookmark the solution for him to use as reference later. For this purpose it is just a few steps simpler than GIT + CMAKE + TERMINAL
Re:Happy 10th Birthday Compiler Explorer by curiousgal on Sunday May 22, 2022 @04:03PM (#31472165)
Tangent but I'll be starting a new job in a few months where they use C++ (bank), do you have any tips/resources?
Re:Happy 10th Birthday Compiler Explorer by injidup on Monday May 23, 2022 @07:57AM (#31477877)
That's a pretty vague spec. If you are starting a ne job I'd ask the people who have hired you to supply info about what they think you need to know. Ask if there will be training and/or mentoring. C++ is a beast and if have no experience then it's a long way to the top.

Short of that Google "modern C++ tutorial" and go from there.

Also project Euler. Try to solve the problems in C++ and see how you go.

Re:Happy 10th Birthday Compiler Explorer by MauranKilom on Sunday May 22, 2022 @05:27PM (#31472966)
As one of those people who also uses "godbolt" as a verb, I am very grateful for the time Matt and the other contributors are pouring into CE. It's awesome to see this project flourish!
Re:Happy 10th Birthday Compiler Explorer by 22SAS on Sunday May 22, 2022 @09:43PM (#31474566)
As a C++ dev, compiler explorer has been a great tool. Not only for quick checks, or playing around with new C++ features via small programs; even for code reviews it's a great way to show why doing something in a particular way is better via a snippet on compiler explorer.

I am in the same industry as Matt, and at my firm we use it a lot, all the time, to discuss things related to C++ features, and sometimes the quirks of the language/compilers.

Re:Happy 10th Birthday Compiler Explorer by mncharity on Sunday May 22, 2022 @09:28PM (#31474483)
Some tools inspire simply by existing ("... oh yeah, and then we could use godbolt, and ..."). Just as some tooling gaps discourage ("... aannd then we'd hit the same old familiar problem of X, sigh"). So broader impact can extend even beyond use and its results. Thanks for all the years of fish, both caught and dreamt.
Re:Happy 10th Birthday Compiler Explorer by isabelk on Sunday May 22, 2022 @06:25PM (#31473428)
Matt Godbolt is a gem! If you haven’t checked out his podcast[0] with Ben Rady, it’s one of my personal favorites. It’s not specifically tied to C++, but it’s a lot of fun to hear two hosts who love thinking about programming.

[0] https://www.twoscomplement.org/

Re:Happy 10th Birthday Compiler Explorer by adamnemecek on Sunday May 22, 2022 @03:32PM (#31471855)
Legit one of the best websites around and I have seen a website or two (not more than like five).
Re:Happy 10th Birthday Compiler Explorer by toredo on Sunday May 22, 2022 @05:25PM (#31472961)
I use godbolt (I dont call it compiler explorer) almost every day.

It's just great and extremely useful:)! Thanks for it

Re:Happy 10th Birthday Compiler Explorer by adchari on Monday May 23, 2022 @01:39PM (#31482241)
Compiler Explorer was used to teach some basics of compiler optimization in my computer architecture class a couple of years ago, but the About Me page was the first time I had heard about SWEs working in quantitative finance. I'm starting at a trading firm in a couple of weeks, so thank you Matt Godbolt for sending me down that particular rabbithole!
Re:Happy 10th Birthday Compiler Explorer by wyldfire on Sunday May 22, 2022 @02:30PM (#31471246)
Thanks, Matt!
Re:Happy 10th Birthday Compiler Explorer by TheAceOfHearts on Sunday May 22, 2022 @09:26PM (#31474465)
Godbolt is really one of the most useful web tools I've ever used, a massive thank you for the service.
Re:Happy 10th Birthday Compiler Explorer by baisq on Sunday May 22, 2022 @04:51PM (#31472638)
Ah, so Godbolt is some guy's last name? That's really cool.