Switch to Charcoal Grey
Week 01 — Modern TypeScript, Runtime Mechanics & Asynchronous Core
8 Sessions
JS Runtime Model
V8 architecture
Call stack, heap, memory regions; how V8 parses and compiles JS.
Event Loop Deep Dive
Macro vs micro-tasks
Timers, I/O callbacks vs Promise microtasks and mutation observers; ordering guarantees.
TypeScript Type System I
Generics & constraints
Generic functions/classes, extends constraints, default type params.
TypeScript Type System II
Conditional & mapped types
infer, distributive conditionals, Partial/Pick/Record internals.
Type Narrowing Patterns
Discriminated unions
Tagged unions, exhaustiveness checks with never, structural vs nominal typing.
Async Primitives
Promises & async/await
Promise state machine, microtask scheduling, unhandled rejection semantics.
Concurrency Control
Queues & backoff
Concurrency limits, priority scheduling, exponential backoff with jitter.
Lab
Async task queue build
Hands-on: build a typed concurrency-limited task queue with retries and error propagation (no libs).