LOADING

Do You Even Macro?

In this talk, we'll cover the essentials of macros, why they are useful, why you should care about them, and how to become as good as you need with them for practical purposes.

Daniel Ciocîrlan
About This Talk

Scala 3 macros are some of the least understood parts of the language, and some of the most powerful. In this talk, we'll cover the essentials of macros, why they are useful, why you should care about them, and how to become as good as you need with them for practical purposes.

You will understand:

- why inlines are great but often not sufficient

- the mechanics of a macro

- how to manipulate programs as values

- how to surface custom errors in the compiler

- essential pieces you can work with, including terms, symbols, types, trees and expressions

- how to make useful libraries with macros

- practical examples of macros at work

more great talks

Might Be Interesting

Day 1
  —  
arrow pointing right icon

Retrying the retry design

In this talk, I will discuss why it's hard to use the power of RT to test side-effect-heavy apps.

Day 2
  —  
arrow pointing right icon

Shaping the Clouds - Introduction to TypeOps

In our talk, we will introduce a novel approach to system design— TypeOps — in which the application and infrastructure layers are fused to provide unprecedented safety and productivity for Scala teams.

Day 2
  —  
arrow pointing right icon

Unison, from a Scala perspective

This talk will be a quick introduction to the Unison "paradigm" and language, from the perspective of a long-standing Scala programmer.

Day 2
  —  
arrow pointing right icon

Scala Sampler for Functional Soundscapes

Discover how functional programming can inspire creativity with the Scala Sampler, a digital music instrument developed for the Sounds of Scala web audio library.

Day 1
  —  
arrow pointing right icon

All the projects I didn't finish, and why it was worth it

In this talk, I'll go through a couple of these projects, and share some of what they've taught me, as well as how their legacy affected other projects in the ecosystem. And who knows, maybe you'll get inspired to try something crazy with Scala too?

Day 2
  —  
arrow pointing right icon

Going structural with Named Tuples

Scala 3.6 stabilises the Named Tuples proposal in the main language. It gives us new syntax for structural types and values, and tools for programmatic manipulation of structural types without macros. Can we, and should we, push it to the limit? Of course! let's explore DSL's for config, data, and scripting, for a more dynamic feel.

See All Events
Join us!

We're looking for amazing speakers.
CFP is open till 10.01.2023

Fill in Call for Papers
location icon

Location

Centrum Konferencyjne POLIN, Poland
stay in touch icon

Follow Us

Contact Us