Kotlin Mulitplatform - Jetpack Compose/SwiftUI/CLI...
# feed
s
Kotlin Mulitplatform - Jetpack Compose/SwiftUI/CLI/Web - Math, Memory, Focus Trainer App 🧠 https://braincup.schubert-simon.de - Web version is free and ios/android app will be free too tomorrow
m
I sometimes get these questions missing one operand
s
In "Mental calculation" you have to remember the previous result 🙂 Sorry I will add better explanation to the game
s
the app size is 5.7 MB for web (kotlin + corountine js is 3.3 MB) . Is this the expected size for a multi platform web app?
b
Looks like it is non-optimized JS, there is probably quite a lot to do to reduce this app size.
(same for css)
On kotlin.js just using uglify: Stats: 57.41% compression, saving 1165.4 kb
Webserver doesn't seem to support gzip either
s
yeah make sense..thanks for the clarification
s
I didn't do any optimization yet. I will dig into it after coming back from holidays and give you an update. Thanks for the feedback
I managed to shrink the js file size from ~6mb to 1.04mb with the help of
kotlin-dce-js
and
google closure compiler
💪 the update is live
👍 2