Connecting...

W1siziisimnvbxbpbgvkx3rozw1lx2fzc2v0cy9zawduawz5lxrly2hub2xvz3kvanbnl2jhbm5lci1kzwzhdwx0lmpwzyjdxq

Metaprogramming in Dotty by Nicolas Stucki

W1siziisijiwmtkvmdcvmtyvmtyvmtcvndkvodg3l2rvbwlub3mtzg90cy1mdw4tntg1mjkzicgxks5qcgcixsxbinailcj0ahvtyiisijkwmhg5mdbcdtawm2uixv0

Dotty introduces new simpler and safer metaprogramming language features!

What are these features?

Check out Nicolas Stucki's talk from Scala Days, we definitely think it will be worth your while.

 

Metaprogramming in Dotty

Scala 2 macros have been a great success in the community. Unfortunately, their design is tightly linked to the Scala 2 compiler internals which makes them incompatible with Dotty and hence Scala 3. With new technologies such as Typed Abstract Syntax Trees (TASTy) files, we redesigned the macros to not depend on the compiler internals.

Dotty also introduces exciting new simpler and safer metaprogramming language features. The core being the new inline methods, quotes '(...) and splices ~(...). All this while still having the possibility of interacting with tree reflection when needed.

This talk was given by Nicolas Stucki at Scala Days 2019.