u/danielciocirlanin r/scala • Recommends
Type-Level Programming in Scala: A Hardcore Tic-Tac-Toe
#type-levelprogramming#scala3#givens
27K subscribers • 59 videos on Hallway
Advanced. Deep dive for people who know the field.
7.3K views3 years ago2 recommendations
Programming languagesComputer scienceScalaLanguage design and type systems
A step-by-step guide to implementing a Tic-Tac-Toe game entirely within the Scala 3 type system using givens.
Learn advanced Scala: rockthejvm.com/p/advanced-scala This video was inspired by a recent series of tweets about how TypeScript is soooo powerful that you can write programs at the type level... and Scala says: TypeScript, please. Then a blog post about a type-level tic-tac-toe in TypeScript which seemed to blow everyone's minds! Alright, that's enough. This video is a Tic-Tac-Toe in Scala, at the type level. You will learn how to program at the type level with givens, in a way that specifies constraints that the compiler should solve. This Scala type-level programming style is analogous to the programming language Prolog, which is a Turing-complete general constraint satisfaction solver. Follow Rock the JVM on: LinkedIn: linkedin.com/company/rockthejvm Twitter: twitter.com/rockthejvm Blog: blog.rockthejvm.com ------------------------------------------------------------------------- Home: rockthejvm.com -------------------------------------------------------------------------What people say. Recommended as a mind-bending demonstration of Scala's powerful type-level programming capabilities.
u/danielciocirlanin r/scala • Recommends
u/jivesishungryin r/scala • Recommends