Is the intention with the JS interop (via WASM) in...
# kotlin-native
n
Is the intention with the JS interop (via WASM) in Kotlin Native that the Kotlin Native sources are modified to add support for missing web APIs? Ends up being a very cumbersome way to expand web API support where compile time is factored in (slows development down), there are multiple places edited in the code base (increased chance of making mistakes/more difficult to troubleshoot problems), and a custom version of Kotlin Native has to be maintained (increased maintenance burden) separately from the official one.
o
WASM support is still very experimental, and deserves more engineering, there’s pull request aiming to improve situation here: https://github.com/JetBrains/kotlin-native/pull/1656 but it is not fully ready yet
👍 1
s
for my own understanding, what is Idl2k?
o
mapper of Web IDL to Kotlin
n
So Idl2k was created by JB originally for use in Kotlin JS to generate the web API bindings.