Stefanzeiger
SkillsCast

Compiling Collections to SQL with Slick

14th December 2017 in London at Business Design Centre

There are 53 other SkillsCasts available from Scala eXchange 2017

Please log in to watch this conference skillscast.

672781832 640

During this talk, you will discover an introduction to Slick's query compiler. Nowadays Slick has many contributors who have worked on different areas of the codebase, from fixing simple documentation bugs to changing intricate details of the asynchronous execution engine. However, only few people venture into the query compiler (which Stefan considers the most interesting part of Slick's implementation). I hope this talk can help to make it more accessible. Slick, SQL, Compiler

You will also explore where "Polymorphic record types in a lifted embedding" dropped off, at the AST of a Slick query, and follow the compilation all the way to the SQL code generator. You will learn how the compiler works and how to work on it, for example creating test cases and enabling and understanding the debugging output you can get for them. After an introduction of the basic concepts (trees, types, symbols, etc.) we cover some interesting compiler phases and implementation details.

YOU MAY ALSO LIKE:

Thanks to our sponsors

Compiling Collections to SQL with Slick

Stefan Zeiger

Stefan Zeiger is a member of the Scala compiler team at Lightbend. He was the tech lead for Slick since 2011 and the creator of its predecessor, ScalaQuery. He has been a user of Java and the JVM platform professionally since 1996, working on a diverse range of projects from web servers to GUI frameworks and programming language design, and moving on from Java to Scala since 2008. He is a frequent speaker at ScalaDays and other conferences.

SkillsCast

Please log in to watch this conference skillscast.

672781832 640

During this talk, you will discover an introduction to Slick's query compiler. Nowadays Slick has many contributors who have worked on different areas of the codebase, from fixing simple documentation bugs to changing intricate details of the asynchronous execution engine. However, only few people venture into the query compiler (which Stefan considers the most interesting part of Slick's implementation). I hope this talk can help to make it more accessible. Slick, SQL, Compiler

You will also explore where "Polymorphic record types in a lifted embedding" dropped off, at the AST of a Slick query, and follow the compilation all the way to the SQL code generator. You will learn how the compiler works and how to work on it, for example creating test cases and enabling and understanding the debugging output you can get for them. After an introduction of the basic concepts (trees, types, symbols, etc.) we cover some interesting compiler phases and implementation details.

YOU MAY ALSO LIKE:

Thanks to our sponsors

About the Speaker

Compiling Collections to SQL with Slick

Stefan Zeiger

Stefan Zeiger is a member of the Scala compiler team at Lightbend. He was the tech lead for Slick since 2011 and the creator of its predecessor, ScalaQuery. He has been a user of Java and the JVM platform professionally since 1996, working on a diverse range of projects from web servers to GUI frameworks and programming language design, and moving on from Java to Scala since 2008. He is a frequent speaker at ScalaDays and other conferences.

Photos