GCC vs Clang

Discussions compare GCC and Clang compilers, focusing on features, standards compliance, error reporting, performance, and support for specific functionalities.

📉 Falling 0.5x Programming Languages
3,960
Comments
19
Years Active
5
Top Authors
#2162
Topic ID

Activity Over Time

2008
11
2009
27
2010
98
2011
116
2012
157
2013
195
2014
237
2015
208
2016
253
2017
283
2018
280
2019
276
2020
310
2021
291
2022
315
2023
336
2024
274
2025
278
2026
15

Keywords

SDCC JSON UX SSE2 stackoverflow.com bellard.org FWIW LLVM HP i.e gcc clang toolchain libc compilers llvm compiler default sgi coverage

Sample Comments

pjmlp • May 8, 2017 • View on HN

Popular where? Not everyone uses GCC.

pjmlp • Jan 5, 2017 • View on HN

When gcc or clang are an option.

wheelerof4te • Feb 11, 2023 • View on HN

What are the benefits of using Clang over GCC?

lasermike026 • Jun 21, 2017 • View on HN

Shouldn't gcc be working to catch up to llvm?

mansoor_ • May 7, 2025 • View on HN

FYI newer builds of GCC have this functionality.

cat199 • Mar 3, 2020 • View on HN

are you saying this in respect to GCC or in regards to commercial compilers, or both?

je42 • May 22, 2016 • View on HN

weird they didn't compare with clang...

shmerl • Aug 4, 2014 • View on HN

Did they file a bug for gcc and clang?

octopus • Apr 10, 2012 • View on HN

I would expect some support from gcc and clang.

TheSoftwareGuy • Nov 15, 2018 • View on HN

Very interesting! which do gcc and clang use?