6 episodes

A podcast about systems & compilers by @jfbastien and @cdleary.

TLB Hit �‪�‬ JF Bastien & Chris Leary

    • Technology
    • 5.0 • 34 Ratings

A podcast about systems & compilers by @jfbastien and @cdleary.

    Parsers

    Parsers

    • 41 min
    Episode 4: t-r-a-c-/e̅‾\-o-m-p-i-l-e

    Episode 4: t-r-a-c-/e̅‾\-o-m-p-i-l-e

    Monitor. Compile. Bail. Repeat!

    • 37 min
    __builtin_expect(!!(x), 0)

    __builtin_expect(!!(x), 0)

    * What is it we know statically?
    * What's effectively discoverable only at runtime?
    * How do we tell "the machine" (compiler and/or hardware):
    * Things we *know* to be true...
    * Things we *expect* to be true...
    * Things we *expect* to be true but *want to do something about* when it's not...
    * Things we have no idea about!
    * How do we collect that information that we have no idea about?
    * What happens if we're wrong? What if the workload is inherently irregular?
    * In the limit, random noise could drive our control decisions!
    * We talked a bit about precise vs imprecise exceptions before and automatic reordering, and we've mentioned vector machines and auto-vectorization.
    * All falls into the broader theme here, but we're always questioning what we can actually cover in an hour...
    * We'll try to give it a go for a subset of these things!
    * Time is often the limiting factor.
    * The episode title is the thing that we often macro define as `#define UNLIKELY`
    * In C/C++ code you might say "this control condition is unlikely", and say `if (UNLIKELY(condition))`
    * In C++20 there was added these `[[likely]]` and `[[unlikely]]` annotations that do the same thing, but with more square brackets, so clearly better!

    • 39 min
    https://tlbh.it^M

    https://tlbh.it^M

    What happens when you type https://tlbh.it in your browser's address bar, and press enter?

    • 56 min
    *(char*)0 = 0

    *(char*)0 = 0

    The adventure of storing NUL to NULL!

    • 43 min
    mov fp, sp

    mov fp, sp

    The stack, and how it relates to TLB Hits.

    • 1 hr 4 min

Customer Reviews

5.0 out of 5
34 Ratings

34 Ratings

_hacked ,

I love the depth and the details you go into when explaining concepts.

I love the technical depth and the attention to details. My favorite technical podcast : )

Parikshit Dubey ,

Best podcast want more episodes

Lots to learn from these talks but really dissapointed with the number of episodes.

squater747 ,

Best low level podcast out there

The polish and content are bar none

Top Podcasts In Technology

Lex Fridman Podcast
Lex Fridman
All-In with Chamath, Jason, Sacks & Friedberg
All-In Podcast, LLC
Acquired
Ben Gilbert and David Rosenthal
TED Radio Hour
NPR
Dwarkesh Podcast
Dwarkesh Patel
Hard Fork
The New York Times

You Might Also Like