r/cpp • • Sep 16 '26

CppCon CppCon

https://cppcon.org/2026/
56 Upvotes

19 comments sorted by

View all comments

Show parent comment

2

u/tialaramex Sep 18 '26

LLVM in particular, which you've mentioned many times, is a powerful temptation. Instead of painstakingly developing an optimiser and backends for a dozen or more different targets you can "just" drop in LLVM. I think all the Handmade Community languages are dependent on LLVM for example, that's Jai, Zig, Odin, C3. Some of their creators have said LLVM is a bad idea, but notice they do all still use LLVM even if Zig has a non-LLVM backend available. It's just too good a deal to pass up.

It happens that LLVM is written in C++ but I think it's clear that if it were Java or a shell script but it offered this same bargain it would be similarly tempting. "You depend on C++" doesn't make too much sense in this scenario.

1

u/pjmlp Sep 18 '26 edited Sep 18 '26

Pretty much so, see GraalVM or the ones that predated it like JikesRVM.

Go being initially a fork of Plan 9 C compiler, and nowadays fully bootstraped.

Plenty of other examples.

LLVM is too convenient as you say, it also doesn't race after C++ versions, currently using C++17 as per coding standards.