> How much can the complete JS bundle be optimized by an advanced whole-program optimizer like the Google Closure Compiler?
JavaScript backend generates code understandable by static analyzers so it can be optimized.
Anyway, we going to continue works in this area in near future.
> Kotlin for JS has no reflection, and I think JetBrains should not look into that as they said they are. But is there powerful compile-time code generation instead, e.g. through annotation processors?
Why do you think that reflection is a bad idea?
Honestly, we don't have a final decision about it, it requires investigations and discussions.
Note it's very important for us to have an ability to provide good tools (e.g IDE support) for features.
> Is there, or will there be, a healthy ecosystem of pure-Kotlin libraries that can be used with both the JVM and JS?
We will work on it.