The Difference Between G++ and Clang++

Channel:
Subscribers:
2,810
Published on ● Video Link: https://www.youtube.com/watch?v=KfeB4CNqvYA



Duration: 16:32
199 views
7


For first and second year students, the difference is fairly small - you might see a little difference in runtime between code compiled by them, but the main difference is just which of the most modern C++ features have been added to the compiler and their attendant standard libraries.

For third year and beyond students, there's significant differences under the hood that makes Clang++ easier to use in tooling like in static analyzers and as a LSP for Nvim that allows code errors to be underlined and such.