r/cpp • Compiler Explorer • May 22 '22

Compiler Explorer is 10 today!

https://xania.org/202206/happy-birthday-ce
548 Upvotes

34 comments sorted by

102

u/pjmlp May 22 '22

Happy birthday, Compiler Explorer has become a great tool, specially after spreading its use to any kind of compiled language.

Thanks to everyone that makes it possible.

99

u/mattgodbolt Compiler Explorer May 22 '22

Thanks so much! :)

30

u/rodrigocfd WinLamb May 22 '22

Your work is really appreciated Matt, congrats.

23

u/mattgodbolt Compiler Explorer May 22 '22

Thanks so much! It's really a team effort and I'm sure I forgot some folks in my thanks in the post. It really does take a village to keep it going!

29

u/azswcowboy May 22 '22

I’m going to go out on a limb and say this tool might be the most important development for the advancement of programming in the last decade — and certainly for c++. The statistics cited in the blog post are staggering, and rightly so. The site presents a zero friction way to experiment, learn, and expand programming practice on a global scale (elevator pitch there lol) — especially for c++ — which is by definition almost never zero friction. Kudos to the team for continually expanding options while keeping usage easy.

My evidence is as follows. As you mentioned, training: I have training materials that use the site — and I’ve talked to other trainers that do the same. Presentations constantly refer to godbolt — every one of mine does. Entire standards proposals are implemented on the site — allowing for experimentation with proposals in ways that previously wouldn’t have happened. Demonstration of compiler divergence on language corner cases. Teams trying out designs — my team uses it weekly. Inspiration for software design: we have some internal web services where we’re stealing the url ideas cause they’re wicked cool. And yeah, every once in awhile, seeing that assembly generated for the machine haha.

Being one of the people you met along the journey in Aspen a few years ago, I’ll also just say you’re a fabulous human being on top of it all. Thanks again to the entire team for the last decade of contributions to c++ and programming more generally — keep up the awesome work!!!

12

u/mattgodbolt Compiler Explorer May 22 '22

Oh my gosh! I don't know what to say: thank you so much!

9

u/sailorbob134280 May 22 '22

Oh hey it's you! This tool has become incredibly popular at my job. We work embedded systems and it's so damn nice to have this available for quick experiments. So thanks!

3

u/wedusk101 May 23 '22

You're a life saver, Matt. Kudos!

2

u/umlcat May 22 '22

Cool. Sorry, almost finantially broke to donate to open source projects ...

I wish it supported multiple files & folders like devcpp or code blocks alike environments ...

6

u/mattgodbolt Compiler Explorer May 23 '22

We have some limited support; choose "add tree view" from the top menu!

2

u/Wetmelon May 27 '22

I've never figured out how to get this to work. Is there a good readme on it?

2

u/mattgodbolt Compiler Explorer May 27 '22

Not really I'm afraid, we need to write one: sorry! :(

2

u/DataAnalytics2020 May 23 '22

Oh this is Gold Bolt right?

Yes, very useful tool for reversing stuff.

6

u/mattgodbolt Compiler Explorer May 23 '22

Some people refer to it by its main domain name, "godbolt", but it's really called Compiler Explorer. In fact you can get to it via compiler-explorer.com too :) (and godbo.lt but that's just silly)

4

u/Wetmelon May 27 '22

I wonder why it's called Godbolt. What a strange name, can you imagine if that were someone's last name, what would people think? Lol

20

u/Theblackcaboose May 22 '22

Absolute godsent. Thanks Matt!

15

u/ShakaUVM i+++ ++i+i[arr] May 22 '22

Thanks for providing the best answer to, "But why should I learn assembly?"

12

u/O_X_E_Y May 22 '22

Was using it just earlier today. Amazing tool and amazing work!

7

u/Nobody_1707 May 22 '22

Congrats! Compiler Explorer is one of the greatest things on the internet.

6

u/[deleted] May 23 '22

I just want to thank you so much for this tool which I use multiple times a day to validate C++ code, check how compilers optimize, compare compilers, and much more.

To be able to get a short link and share compiled and executed snippets to others is awesome.

Compiler Explorer, which everyone calls "Godbolt" really, saved me a lot of time during the last few months.

Happy birthday and long live Godbolt!

3

u/rlbond86 May 23 '22

Revolutionary tool. Literally changed the face of programming.

3

u/kobi-ca May 23 '22

We love 💕 you CE!

3

u/Kie_Sun May 25 '22

Best tool I have used. I also recommended to my colleagues and they all love it. Thanks so much.

2

u/TheARP98 May 22 '22

This is an amazing tool that I use nearly every week - thank you!

2

u/[deleted] May 22 '22

Amazingly useful tool!!

2

u/arnitdo May 23 '22

Compiler Explorer is truly a godsend from godbolt. Awesome work, really proud to be a user.

2

u/better_life_please May 23 '22

It's a small code editor for me to quickly test small pieces of code without worrying about doing all that stuff on my machine. Thanks for making us more productive!

0

u/MashTheTrash May 22 '22

it only links to a web archived version that doesn't work. I don't know what this is.

0

u/[deleted] May 22 '22

[deleted]

17

u/mattgodbolt Compiler Explorer May 22 '22

Absolutely; the README tells you how. On a Linux machine it should be "make sure you have a compatible node.js installed, then type make."

0

u/[deleted] May 22 '22

[deleted]

4

u/mattgodbolt Compiler Explorer May 22 '22

Not quite yet :)

0

u/viatorus May 22 '22

What is that?

4

u/the_Demongod May 22 '22

The creeping realization that life is way shorter than you thought it was, and that you have no idea what it's all about