How TypeScript Compiles to JavaScript
Discover exactly how TypeScript transforms into JavaScript through 4 compilation steps. Interactive animations, live demos, and visual guides for Node.js and browser execution.
Documentation of digital experiments, engineering rants, and the pursuit of a perfectly optimized brutalist web.
Discover exactly how TypeScript transforms into JavaScript through 4 compilation steps. Interactive animations, live demos, and visual guides for Node.js and browser execution.
Learn why TypeScript beats vanilla JavaScript — static type checking, better IDE autocomplete, safer refactoring, interfaces, generics, and real-world examples with interactive demos.
Learn how Go structs work — defining custom types, creating instances, passing by value vs pointer, adding methods, constructor functions, struct tags for JSON, anonymous structs, and struct embedding.
Explore what data means in AI — structured vs unstructured data, how to collect and label it, train/test/validation splits, data augmentation, feature engineering, data quality vs quantity, and common mistakes to avoid.
Learn how large language models like ChatGPT work — transformers, self-attention, tokenization, context windows, temperature sampling, hallucination, RLHF fine-tuning, and what this means for developers building with AI.
Master the Node.js fs module — async and sync methods for reading, writing, renaming, deleting, watching files, checking metadata with fs.stat, streaming large files, and using fs/promises with async/await.
Learn the difference between app.use and app.all in Express.js — middleware vs route handling, partial vs exact path matching, error-handling middleware, router.use, and real auth middleware examples.
Understand how Node.js handles concurrency — single-threaded JavaScript execution, the event loop, libuv thread pool, worker threads for CPU tasks, the cluster module, and when to use each approach.
A deep dive into how JavaScript goes from source code to execution — parsing, AST generation, Ignition interpreter, Sparkplug baseline compiler, TurboFan JIT optimizer, hidden classes, inline caching, and how to write engine-friendly code.