Please log in to watch this conference skillscast.
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:
- Lightbend Akka for Scala - Expert (in London on 26th - 27th November 2018)
- Lightbend Apache Spark for Scala - Professional (in London on 11th - 12th December 2018)
- ScalaX2gether Community Day 2018 (in London on 15th December 2018)
- Lightbend Akka for Scala - Professional (in London on 8th - 9th April 2019)
Compiling Collections to SQL with Slick
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.