3 ms·
That's not true, Spark's entire query engine relies on use of runtime codegen via macros/quasi quotes Look up the architecture of Catalyst + Tungsten https://
by gavinray 10mo ago
That's not true, Spark's entire query engine relies on use of runtime codegen via macros/quasi quotes
Look up the architecture of Catalyst + Tungsten
https://www.databricks.com/glossary/catalyst-optimizer https://www.databricks.com/glossary/catalyst-optimizer
- lmm 10mo agoCatalyst uses runtime codegen, sure, but the OP wasn't using that.
- still_grokking 10mo agoScala 2's macros are compile time constructs. There is no runtime code generation / staging. Scala 3's macros support staged compilation, so you can have macros which create code in later stages at runtime. https://docs.scala-lang.org/scala3/reference/metaprogramming/staging.html https://docs.scala-lang.org/scala3/reference/metaprogramming...