Skip to main content
Casey Muratori

Casey Muratori

American computer programmer

Nov 20, 2026

ThePrimeagenHOST
21:35
Can you do the fast thing first, do the GDI thing, and then fall back to initializing, and thus you get the win, but you have to have this really crappy
21:45
dual path? You could.
21:47
And then the other one is memory, typically.
21:51
So depending on what you're actually doing, if you...
21:56
I don't know the specifics of Rex, but like...
21:59
Hopefully it can, when it starts, if you want to be very fast, what you kind of need to do is keep the actual memory footprint that you're using at startup very small, like as small as humanly possible.
22:11
And then like in the background, start expanding out to whatever memory you actually needed.

5 MINS LATER

ThePrimeagenHOST
27:19
Famous Casey.
TeejHOST
12:12
Yeah.
12:13
No, I agree.
12:13
I think I may have actually even overtly fallen into the, it will never category was looking back.
12:18
It's a stupid position to take obviously.
12:21
But yeah, man, it's, it's getting good.
12:22
I mean, I think we're seeing people awakening to the fact that if you get the right open source model, I think GLM 5.3 is kind of the go-to right now because it's on par with Mythos, but doesn't have the same guardrails.
12:37
You can point it at kind of anything and it will find problems with the anything.

32 MINS LATER

TeejHOST
44:21
Listen, dude, like, again,
0:00
This blocker returns, uh, to a previous theme, and I'll just set the scene.
0:09
I am going home to visit my parents, and I did not want to get them sick with anything.
0:16
So I'm like, "I'm gonna get a flu shot," 'cause I know the flu is pretty...
0:20
It's supposed to be pretty, like, widespread this year.
0:22
So I'm like, it's entirely likely if I go through an airport or something like that, I would get this thing, and I would infect my, you know, uh, m- parents who are obviously even much older than I am, and I'm already old.
0:34
So I make, uh, the appointment, or, uh, I have to, to go there, it's at 4:30 to...
TeejHOST
1:19
Right.
1:20
I go over there, I push the thing, I look.
TeejHOST
29:40
So
29:41
who knows, right? But in general, what happens is you have a...
29:47
Obviously, in a video game, you have a certain budget that you have to get everything... $305 million.
29:54
Oh, no, not...
29:57
In 16 milliseconds or thereabouts, right? You're trying to get everything to the GPU that needs to go to the GPU to get the next frame kicked off and whatever.
30:06
And those are supposed to come out at a regular 60 frames a second or sometimes higher if you're trying to run it at a faster frame rate or whatever.
30:12
Yeah.

25 MINS LATER

ThePrimeagenHOST
55:35
A lot of Minecraft recipes, as we showed just briefly here, you know, they're kind of in this, they're just like declared like this is some data, right? When in like making a game or building an engine, when would you do kind of like one versus the other? Try and do stuff more with like declarative, just here's JSON blobs, whatever, versus like, cool, we're just going to write out code.
TrashPANELIST
7:48
Mm-hmm.
7:48
We'll take care of you.
7:49
[laughs] All right.
7:50
Sorry, Casey, continue.
7:52
So, so now, uh, the, the chumping begins.
7:56
So- Mm-hmm ...
7:56
I get the order, I bring it home.
TrashPANELIST
8:43
[laughs]
ThePrimeagenHOST
12:57
Also, I just want to throw that out there as a question.
12:59
That part I'm not entirely sure about to what extent because that's sort of a data collection question, like how many studios look at other people's stuff in detail and how many don't.
13:10
I'm not sure about that, but what I will say is usually at least as far as I've ever seen the kinds of things that are being done in a game for the gameplay mechanics are rarely complicated enough that you can't just read them off directly.
13:29
Like if you show me a game and it's like, okay, I know how I would do that.
13:33
And off we go.
13:34
The thing that does get sort of analyzed a little bit more is, sometimes is like the rendering because you can just take the gpu like it's very it's very simple to do you can just take the gpu commands and you can like step through them basically and look at what's produced and you can go look at effectively what are d comps not done by ai just you know done by by people because it's it's so simple you don't need an ai for it really um you can see like, oh, here's the render passes they did.
14:05
Here's what they're storing in each buffer, right? That kind of thing.
ThePrimeagenHOST
17:47
I, I fully agree with you on that one.
21:05
Let's go." [laughs]
21:06
That's what they're gonna have to realize.
21:07
What they're...
21:08
Okay, here is the best possible end game for AI, all right? Okay, I'm ready.
21:12
Is this, this is the best possible end game.
21:14
So it all, they get it all work.
21:16
They, they get to the point that I want, right? They're like, okay, this thing is actually like a master programmer, right? Mm-hmm.
22:54
That already exists.
ThePrimeagenHOST
1:02:58
What do you think about this? I'm
1:03:00
not going to lie to you guys.
1:03:02
This is pretty rough.
1:03:08
I guess what I'd say is the only game that feels like it could potentially be a game, meaning like as it is, as it is as presented, not potential.
1:03:22
So a fact of that for temporary.
1:03:25
Trash is pitching game, but only because the genre of that game is that it's incredibly janky.
1:03:32
Like, the whole genre of QWOP games is that they don't really work.
ThePrimeagenHOST
1:07:09
After I have missed several videos next week, I will be glad.
3:00
And you got all the way down to, yeah, structs.
3:02
Yeah, like, I didn't feel like, so there's two separate paths that you could explore, right? And I was exploring one in particular.
3:10
So one path is why did object-oriented programming as a concept get popularized, right? So, like, why was it adopted? And I didn't look at that, right? So I didn't look at like, you know, I mean, you would have a bunch of stuff you'd look at there, like, you know, Sun's big marketing push for Java and things like that.
3:29
All of those would have been important things to cover if you were looking for like, why did this get adopted? But I was more interested in the, like, why did anyone start to think about some of these concepts in the first place, right? Because if you think about some of the things that ride along with object-oriented programming, like, you could have just had people talk about, like, functional decomposition and stuff.
3:53
Or, like, we want to kind of have bundles of parameters or stuff like that that we pass around.
3:59
But they like very specifically right out of the gate were like, we're going to have class hierarchies and they're going to have virtual functions.
4:05
And also, by the way, we're not going to allow functional decomposition with switch statements, right? So like that was early on and that was being pushed as like part and parcel with any other concept of object-oriented programming.

43 MINS LATER

47:21
yeah right and that's like you know if you want to do that for fun then that's one thing versus like if you're like well i want to write a paper about an algorithm and i want to prove that it's correct that i do think is valuable
4:02
What did you learn in doing all that research about these famous computer science phrases?
4:08
The thing that shocks me, both times, even though I've now done it twice, the amount of stuff that you learn about what was going on at that time that you just had no idea is just mind-boggling.
4:20
And I would point out that this is for a talk.
4:24
I'm not a historian.
4:25
I don't do this for a living.
4:27
I'm not at a university somewhere doing computer history research.
4:31
So what I think of as a pretty thorough read to the history that I did for the talk is actually somewhat shallow.

12 MINS LATER

16:29
Was there anything you found that surprised you when you were doing the research?
ThePrimeagenHOST
18:05
That's a fat thumb.
18:05
Because it's very long.
18:06
Um, it's very long, and I wasn't expecting that.
18:08
So just, like, I don't know, people were in the mood for a, a, a longer thing, so that was cool And so a lot of people watched "The Big Oops." That was my Better Software Conference 2025 talk.
18:19
So for Better Software C- Conference 2026, I just wanted to do, uh, one more of those.
18:24
They're very hard to do.
18:25
I think I've talked about this before.

30 MINS LATER

ThePrimeagenHOST
48:44
You know, so ASCII's a big upgrade, I, I do have to say.
1:00:55
Yeah, may- maybe now it's changing.
1:00:57
And so there were two really big risks typically, uh, when you started a game project in, in those days.
1:01:03
One was the engine risk.
1:01:05
Would we be able to make something that would be technically able to do what we need to do for this game? And that risk comes in a lot of flavors.
1:01:15
One, will it happen at all? Two, will it happen fast enough for us to actually reliably build the game on it, right? One of the things...
1:01:25
I mean, I don't know how detailed an answer you're looking for for this question, so stop me if I'm going down too many tangents, but one of the things you also have to remember is that at that time, and this is sort of still true today, but at that time it was very important, there was no way to really buy something all that much faster than what you had.
1:01:42
There was not a huge strata of PCs that you could, you know, buy or anything like that.

14 MINS LATER

1:16:15
Can we talk about the responses to this piece?
TheoHOST
18:07
Yeah.
18:08
So anyway, here is a block diagram that was cited in that one.
18:14
It's made by AMD.
18:15
It comes from AMD's own slide presentations.
18:17
And AMD is actually more open say than someone like Apple about what's going on in the chip to the extent that they do produce one of these block diagrams and show it prominently in their presentation.
18:31
And what's great about this is this shows you right here, how many basically of those primary execution units, those ALUs, and I'm using the term execution unit here because ALU is typically talking about a very specific kind of execution unit.
18:46
And we can maybe touch on that when I go through here, but generally execution is something that does a fundamental micro-operation or something like that.

1 HR 44 MINS LATER

TheoHOST
2:03:03
You can't regret something you don't have a better option for.
26:20
I was going to try to say, do you really hate compilers if you're used to compilers and you're used to high-level languages? This is just another high-level language, but you bit the bullet and you're like, no, I always unpack what my compiler is doing.
26:31
I do hate compilers.
26:33
That's strong.
26:34
It's not really true.
26:37
I struggle with compilers a lot more today than I used to.
26:40
And the reason for that is that it's common to be going through a compiler where the series of transformations it will do to the code are less predictable.
26:55
And there's many reasons for that.

18 MINS LATER

44:47
Does that seem like a plausible outcome to you?
24:14
Which, good point
24:15
... uh, is what I'm trying to get to.
24:17
So the part that confused me was I was like, "Where did that number come from?" So like on the W- on Windows 10, I tried testing the existing run dialogue, which obviously is not the updated one.
24:28
And I did a 60 hertz capture.
24:30
Now, I know that 60 hertz will make people very uncomfortable, so what I mean to say is a capture where the frames were capped to 16.6666666666667 millisecondsHow many, Casey, is that in, uh, deca-frames per hour? Yeah.
24:47
[laughs] That's my preferred...
24:48
That's the only unit that I prefer discussing, so just to- Yeah, he- ...

5 MINS LATER

speaker_5PANELIST
29:56
Well, unless you're doing, like, a lot of animations with Web GPS

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.