Building an 8-Bit Adder Using Only Types
summary
Shows how to implement an 8-bit adder using only the type system (in TypeScript) to illustrate concepts like generic types, tuples, extends and infer. The session walks through a live-coding recreation of the adder, explaining each step and how those type-level features are used.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:08Binary addition by typing
- 5:25Binary logic and gates
- 9:23Sum and carry calculation
- 13:15Decimal to binary conversion
- 17:07Binary to decimal conversion
- 18:104-bit demo
- 19:588-bit limits
- 21:06TypeScript code demo
- 23:15Adding three numbers
- 24:38Conclusion
- 25:31Q&A
related talks
19mBinary Arithmetic in TypeScript's Type System
44mA Deep Dive Into Advanced TypeScript - A Live Coding Expedition
44mA Deep Dive Into Advanced Typescript: A Live Coding Expedition
51mTypeScript - Beyond the Basics
54mThe Fun Side of Advanced TypeScript: An Interactive Coding Session
01h 05mBusy TypeScript Developer’s Guide to Advanced TypeScript
01h 04mAdvanced Types in TypeScript
48mDeep Dive into Advanced TypeScript: A Live Coding Expedition
