Better HN
topnewbestaskshowjobs
Log inSign up

bashor_

2 karma · joined Mar 1, 2017 (9y ago) · 3 submissions

Submissions

1.

Kotlin/WASM: transcript of the talk from WASM I/O 23(seb.deleuze.fr ↗)

2 points · by bashor_ · 3y ago · discuss

comment 9y ago · link · parent

> 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.

comment 9y ago · link · parent

We going to publish more materials about JavaScript in the next few weeks. Including with using React.