COSCUP 2023

TLS Demystified: Understanding the Mechanics and Compiler Support
2023-07-29, 14:10–14:40 (Asia/Taipei), TR 412-1
Language: Traditional Chinese (Taiwan)

Thread Local Storage, aka TLS, is a feature embedded in various programming language, such as C, C++ and Rust, that frees the programmer from the arduous management of shared variable. One of the TLS-powered feature that undergirds your daily Linux-based developement is "errno", a variable that helps you fathom the problem underneath the operating system.

We will talk about the mechanics of TLS and how does llvm support it. We will analyze the IR lowering strategy adopted by the M68k backends and examine how to further optimize the strategy.


Difficulty

中階

Target Audience

Familiar with computer architecture and operating system. Presumably an individual with three years CS undergraduate experience is enough.