What makes a game tick? Part 9.5 - The Curse of the Scheduler Latency

Let’s talk about game simulations. Today I bring up a slightly more advanced topic and talk about OS scheduler latency and its impact on multi-threaded tick design.

After part 9 we were done with the thread scheduling part of our data-driven tick system and getting ready to move on to the data storage part of the problem. But in the interval I got to do some performance audits on mobile and ran into some interesting results that I feel I should share before we go on.

Continue reading What makes a game tick? Part 9.5 - The Curse of the Scheduler Latency

Make APIs that fail gracefully rather that fallback silently

A tale of many hours spent trying to find a bug that was hidden by an API with a silent fallback.

I have been on and off toying with my own 3d renderer since last year. I started on Windows but recently I have tried to validate the cross-platform capabilities by porting it to Mac. I had to fight off the limitation of MoltenVK for a while, but the real issue came from a different source.

Continue reading Make APIs that fail gracefully rather that fallback silently

We Should Use Instrumented Profiling Scopes More

Do you use instrumented profilers? You should! Let’s quickly see how!

I have made an entire talk about profiling. Still, I keep running across projects that don’t use profilers much or at all. Or even more commonly, they do use profilers but do not know they can enrich their projects with profiler markers that would make captures more valuable and much easier to parse. Let’s fix that!

Continue reading We Should Use Instrumented Profiling Scopes More

An Honest Review of AI Programming

They gave me a Claude subscription and told me to get tokenmaxxing, so I tried to give it a fair shot.

It’s getting hard to avoid LLMs these days. Even if you avoid social media (or at least curate a follow list that avoids the bulk of the slop factory) and shrug off grandiose marketing statements that end up taken at face value in the news, it will likely come and find you at your place of work. Unlike the silver bullets of the past (like microservices or NoSQL), AI adoption seems to have been mandated in many places from the top layer of management, regardless of how many of them ever worked (or studied for) an engineering job.

Continue reading An Honest Review of AI Programming

Pagination