Which compiler to use for implementing code optimization ideas

1 points by hansman ↗ HN
Hi guys,

I am currently in grad school and had some code optimization ideas and wonder which compiler I should use to implement them. My first approach with modifying GCC was kind of discouraching as I found the source to be super complex and hard to modify. Can you share your mind?

5 comments

[ 4.1 ms ] story [ 21.4 ms ] thread
Do not waste any time with gcc - go get LLVM and start hacking. It is a clear, clean, well-designed architecture with a lot of optimization passes already implemented, and there's a complete C front-end (called Clang) which either already does or is soon going to support C++ as well.
Clang's C++ support is considered to be production quality as of 2.8.
Thanks guys! I will see how it works