Skip to main content
Clang

Clang

SoftwareWikipedia

Search complete. 18 mentions across 8 episodes found for "Clang".

Oct 30, 2026

FabioHOST
24:53
The feature should write itself.
FabioHOST
24:55
So this is using some fancy GCC and Clang optimization.
FabioHOST
25:01
It's using one of the built-in, built-in unreachable, which tell the compiler that some chunk of coding is unreachable and it triggers some optimization.
FabioHOST
25:14
And apparently the author, this is Mas, that did this, he managed to use it in a way that makes the compiler optimize out the API access indirection function, if I understand correctly.
Titus WintersGUEST
25:39
If we own those things, maybe it's valuable to make them better.
Titus WintersGUEST
25:42
But how do you do that when there's 50,000 call sites or 100,000 edits that need to be made to change that API? And so luckily I was friends and org chart cousins eventually with the compiler team, especially Clang LLVM people.
Titus WintersGUEST
25:58
And so they started doing stuff in the AST transformation sort of space.
Titus WintersGUEST
26:02
AST.
BenjaminHOST
16:56
There's a pull request.
BenjaminHOST
16:57
This one is not super new, is it? Like to add the Clang trade safety analysis.
BenjaminHOST
17:03
And it's one of those checks where
FabioHOST
17:04
for
BenjaminHOST
17:06
introducing it, we need to fix our code first, right? And so that's why it's been around for this long.
FabioHOST
17:11
I think it's been fixed at that time.
FabioHOST
17:13
So when this was introduced, we didn't even have, this applies for Clang, right? So when this started, we didn't even have it in CI.
FabioHOST
17:22
And I remember, I think Anna's thrown it at me because he knows we use Clang downstream and he was like, hey, this may break you.
Ryan HuntGUEST
12:32
But I think people just kind of underestimate the problems involved with not having a standard like this.
Ryan HuntGUEST
12:38
For one thing, none of the upstream compilers like Clang or Rust or Python want to have anything to do with writing JS code or generating JS code or having their CI do that.
Ryan HuntGUEST
12:52
They just really want like a standard thing analogous to all the other platforms.
Ryan HuntGUEST
12:56
They want an ABI to target.
Shai AlmogGUEST
23:21
I think the sort of the initial result approach is problematic because you're optimizing for a benchmark, and you get something that's good but not real.
Shai AlmogGUEST
23:35
For instance, we support PGO, which is, um, the Clang, uh, approach for doing a benchmark run.
Shai AlmogGUEST
23:43
But w- it's off by default, and we never use it in our benchmarks because I think of it as kind of like cheating because you're running sort of a warm-up that isn't really how the app will, uh, necessarily represent in, in practice.
Shai AlmogGUEST
23:58
So we have it there because there are some special cases that might actually benefit from it.

Unknown podcast

Compiling From Source: What You Actually Get

Oct 14 · 2 Mentions

CornHOST
7:09
The compiler is already very good.
CornHOST
7:12
Modern GCC and Clang do a lot of work that used to require hand-tuning.
CornHOST
7:16
If you write reasonable code and compile it at 02, you're already close to what the hardware can do for most workloads.
CornHOST
7:23
The gap between a generic build and a tuned build is small because the generic build isn't leaving much on the table.
CornHOST
7:57
It sounds like it.
CornHOST
7:58
GCC with PGO came out 94% slower than a plain 02 build.
CornHOST
8:02
Clang with PGO, 8.7% slower, and the reason is interesting.
CornHOST
8:07
The optimizer used the profile to speculatively devirtualize the calls, replacing indirect calls, which the CPU predicts well, with type guards that mispredict.
Mathieu RoperHOST
32:48
And a bunch of stuff in the back end pipeline will just stop working.
Mathieu RoperHOST
32:53
So maybe Google, I know they have some patches on Clang.
Mathieu RoperHOST
32:57
So I don't know if it's because of that or it's because they do something smarter.
Mathieu RoperHOST
33:01
I'm really curious about this.

19 MINS LATER

Jon BaumanGUEST
51:57
They're already useful.
Jon BaumanGUEST
51:59
And so I'm like, I think the thing that the Rust Foundation could do to help them is basically provide support and social connections when they get blocked by things.
Jon BaumanGUEST
52:13
A good example of something like that was there was a longstanding bug for 128-bit integer API where Clang and GCC weren't agreeing.
Jon BaumanGUEST
52:27
And so because, well, this is not really Clang, it's LLVM.
Pablo Galindo SalgadoGUEST
31:13
Yeah, yeah
Michael KennedyHOST
31:14
... everything with your GCC and your Clang.
Pablo Galindo SalgadoGUEST
31:17
Exactly.
Pablo Galindo SalgadoGUEST
31:17
Give food to your code developer in the ground.

24 MINS LATER

László Kiss-KollárGUEST
55:45
"Hey, how, how can we make this work in 3.14?" And, and that was the idea.
László Kiss-KollárGUEST
55:48
You can just literally take the, the profiling package, right, and, and just copy that over, but it's not that simple.
László Kiss-KollárGUEST
55:55
So there are, there are some changes in, in CPython, in, in internal CPython, uh, um, structures in Clang.
László Kiss-KollárGUEST
56:01
And so you do get...

We value your privacy

We use cookies to understand how you use our platform and to improve your experience. Click “Accept All” to consent, or “Decline non-essential” to opt out of non-essential cookies. Read our Privacy Policy.