5min chapter

Lex Fridman Podcast cover image

Chris Lattner: Compilers, LLVM, Swift, TPU, and ML Accelerators

Lex Fridman Podcast

CHAPTER

Is It a Typed Language?

Swift was designed to be a compiled language, rather than an untyped one. It is not just statically compiled, itis actually dynamically compiled as well. In swift you can start by saying, print, quote, hello worldright? And there's no slash. One line of coat, no mane, no heade, no header,. No blobla bla string like java has - and so on. The way that a cola workbook works with swift is that each line of cod type in it, compiles it through the swift ler, the front end part, and then sends it through the optimizer, git, compiles machine code, and then inject

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode