u/littlenagin r/scala • Recommends
On “Query DSL in Scala 3”
You should watch: [video
It appears that Quill will potentially be offering something like what you are thinking as a feature in an upcoming release!
4.2K subscribers • 16 videos on Hallway
Advanced. Deep dive for people who know the field.
4.7K views5 years ago2 recommendations
Programming languagesDatabases and dataScalaLanguage design and type systemsCompilers and interpreters
Alexander Ioffe demonstrates how Scala 3's inline keyword and macros are used to rebuild the Quill library for compile-time query generation.
Scala 3 is arriving, and with it comes incredible new power for library authors. In this presentation, Alexander Ioffe, a contributor to Quill (a LINQ-like persistence layer for Scala), will show how using Scala 3 Macros, Quill is being rebuilt to be better, stronger, and faster. As you will learn in this presentation, Scala 3 introduces a new powerhouse keyword called 'inline' that opens up a new continent of capability. This construct powers all Scala 3 macros, and allows users to interact with staged code almost indistinguishably from normal code, allowing familiar patterns such as global-methods, type-classes, and type-level-logic. For Quill, Alexander will show how this allows generating compile-time SQL using patterns that we once only dreamed about using--and these features just scratch the surface of what can be done with staged code. Come discover the bright future of powerful, type-safe libraries in Scala 3! About Functional Scala: Functional Scala was founded in 2019 to provide an independent, professional platform for speakers across the entire Scala community, bringing together new and existing Scala developers in an uplifting and welcoming environment that focuses on innovation & excellence. Join the Functional Scala Community on Twitter: twitter.com/funscala2021 and twitter.com/zivergetech Stay informed on future events: functionalscala.com/, ziverge.com/ Join us in 2021: eventbrite.co.uk/e/functional-scala-2021-tickets-13162066595… #FunctionalScala2020 #FunScala2020 #FunScala20What people say. Recommended as an interesting presentation on how the Quill library leverages Scala 3 macros and inline features for effective database mapping.
u/littlenagin r/scala • Recommends
On “Query DSL in Scala 3”
u/Storiniin r/scala • Recommends
On “Your favorite CRUD”