Has anyone had experience with Kotlin/Wasm? What i...
# javascript
g
Has anyone had experience with Kotlin/Wasm? What is better to use Kotlin/Wasm or Kotlin/Js?
r
It depends on your goals.
Wasm is still experimental
And doesn't work in safari browser.
The bundle size is usually bigger.
This is the price you currently have to pay for greater speed.
g
So, if I want to build simple web app, then I can use kotlin/js and dont care?
r
In general yes.
g
What is preferable to use for ui, compose or kotlin html?
r
I'm building a framework which will allow to create web apps for Kotlin/Wasm and Kotlin/Js with the same code. You can check https://github.com/rjaros/kilua
🙌 3
🙌🏾 1
And if you just want to use Kotlin/JS there are many frameworks, check #kvision, #kobweb, #compose-web, #doodle, #fritz2 and #react.
It's definitely better to use one of them instead of doing plain html.
g
Which framework is easier to use? I need to build simple mvp
Im android dev actually
r
I'm the author of KVision, so I'm not impartial here 😉 But if you come from android world and want to build typical static website with kotlin/js, you should probably look at #kobweb.
Or just use compose multiplatform with web target.
g
Question to you, as to author Where did you find and learned such huge amount of information to build huge systems like this?
Is it only for wasm?
r
compose? no, it can work with kotlin/js as well
❤️ 1
I just like building frameworks 😉 I'm learning by writing code 🙂
g
Im confused when I try to build even small navigation lib
n
author of #doodle here as well. i think @Robert Jaros gave a good overview of the options for web. Doodle also supports wasmJS and desktop.
a
Compose HTML is great, it’s production ready and we have excellent results with it