What is the role of Kotlin JS considering that Kot...
# javascript
n
What is the role of Kotlin JS considering that Kotlin Native has WASM support (currently experimental)?
e
Working with JS libs and interop with JS ecosystem (e.g. you can use React, etc). WASM is not up to that at the moment (maybe only in a future).
s
FYI Firefox already exposes Web and DOM API behind a flag without having to use JS, so languages like Kotlin can move forward on that to anticipate general availability and send feedback to the WG. See https://hacks.mozilla.org/2018/10/calls-between-javascript-and-webassembly-are-finally-fast-%f0%9f%8e%89/.
n
How does this affect possible plans to have a JS interop system in Kotlin Native that is very similar to the Kotlin JS one (Web IDL based)?