JetBrains / kotlin-playground

Self-contained component to embed in websites for running Kotlin code
https://jetbrains.github.io/kotlin-playground/examples/
Apache License 2.0
447 stars 80 forks source link

Support compose wasm #201

Open ilgonmic opened 7 months ago

ilgonmic commented 7 months ago

It reuses logic with JS canvas, just apply compiled wasm to canvas element.

ilgonmic commented 4 months ago

Implemented fetching of skiko.mjs and skiko.wasm from compiler server (https://github.com/JetBrains/kotlin-compiler-server/pull/726) Now skiko.mjs and skiko.wasm fetching (with caching) and executing only once