Is the generated Swift data compiled?

I am trying to figure out how Swift works . In particular, I could not find the exact statement about the compilation model. In C ++, generalizations (templates) are not separately compiled as they are created (at least in principle) for each call site. Instead, Java generators are generated. What happens to Swift regarding a separate compilation of generics?

+4
source share
2 answers

This combination of the two, depending on what the optimizer decides, will get better performance. They talk about this at the end of WWDC Session 404: Advanced Swift . Slide says:

Swift

+3

++. Swift, T, T T.self . ++, Java, generics .

+1

All Articles