?

Log in

No account? Create an account

Evolution of Scala Macros (Strange Loop 2013) - Excelsior — LiveJournal

May. 18th, 2013

08:40 am - Evolution of Scala Macros (Strange Loop 2013)

Previous Entry Share Next Entry

Let’s take a journey to the internals of Scala macros!

We will start off in the early days of macros in Scala and the initial design of def macros, which ended up in the production release of Scala 2.10. We will also take a look at the popular use cases and patterns characteristic for our macro system.

Afterwards we are going to learn about macro paradise, a spawning pool for the new ideas, and get acquainted with its inhabitants: type macros, untyped macros, inference macros, jitted macros and macro annotations. Then, in the next act our new friends will try to make it into Scala 2.11, only to be stopped by the keepers of the Scala typechecker.

The narration will culminate when in addition to discovering a threat coming from the new macros, we find out that Scala 2.10 is already infiltrated. After the two forces collide, the next generation of macros in born, having two faces: blackbox macros and whitebox macros.

The next generation of macros brings peace to the macroland, and happiness ensues. But in the meanwhile, far away in macro paradise, macro annotations are getting mature, planning to try their luck in 2.12…

https://thestrangeloop.com/sessions/evolution-of-scala-macros

Comments:

[User Picture]
From:mr_aleph
Date:May 18th, 2013 10:18 am (UTC)
(Link)
congrats, see you there then :-)

Edited at 2013-05-18 10:18 am (UTC)
(Reply) (Thread)
From:ex_juan_gan
Date:May 18th, 2013 04:05 pm (UTC)
(Link)
Ну вот, а я уж думал поскипать стрейнджлуп в этом году. Придётся приехать.
(Reply) (Thread)
[User Picture]
From:xeno_by
Date:May 18th, 2013 04:10 pm (UTC)
(Link)
От нас еще будут Хезер и Филипп с рассказами о основанных на макросах сериализации и продолжениях.
(Reply) (Parent) (Thread)