4 ms·
Will macros work with Scala Native, as they do with ScalaJs? (I believe that compile-time metaprogramming is the way forward, especially if the target doesn't s
by pale-hands 10y ago
Will macros work with Scala Native, as they do with ScalaJs? (I believe that compile-time metaprogramming is the way forward, especially if the target doesn't support reflection or dynamic code loading).
- ddispaltro 10y ago"We support the whole language including the more advanced features such as method dispatch via structural types and even macros."
- pale-hands 10y agoD'oh, thanks! Can't believe I missed that.
- coldsauce 10y agoIf i recall correctly, they are planning to (or have already) remove macros in a newer version of Scala.
- pale-hands 10y agoYeah, the current macro system will be replaced with scala-meta, which is a different macro system, but it hasn't happened yet. Scala-meta doesn't have def macros yet, so it's not ready.