this post was submitted on 21 Sep 2023
1022 points (97.8% liked)
Open Source
31395 readers
151 users here now
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Useful Links
- Open Source Initiative
- Free Software Foundation
- Electronic Frontier Foundation
- Software Freedom Conservancy
- It's FOSS
- Android FOSS Apps Megathread
Rules
- Posts must be relevant to the open source ideology
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon from opensource.org, but we are not affiliated with them.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Hands down the clang C++ compiler, no commercial C++ compiler I've ever seen or even heard of even comes close enough that a comparison could be meaningful.
I never expected to see a compiler in this list, at least not in 2023.
Back in 1988 I realized how rubbish Microsoft was when I discovered Borland's Turbo Pascal and Turbo C compilers. I'd previously used the MS compilers and they were multipass, multi-minutes to finish a compile. The Borland ones were single pass and FAST.
Back then, compile times could be huge, and everyone was publishing benchmarks on compiled program performance, which mattered on the hardware of the day. I never even think about that stuff these days.
The original Turbo C++ was, at the time, truly next level.
I used to exclusively use clang but IMO gcc is just as good if not better. Both are pretty bulky but sometimes the LLVM toolchain can feel like bloat. Most of the time GCC is preinstalled on my linux distro so I don't even need to install it I just git clone my projects and run my Makefiles. The only reason I ever use clang now is on my chromebook because gcc isn't available through Termux.