-
Notifications
You must be signed in to change notification settings - Fork 63
feature: add Jetsnack project description #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
compose-jetsnack/README.md
Outdated
|
||
# Compose Multiplatform for Web | ||
Kotlin/Wasm is a new experimental target that enables developers to compile Kotlin code to WebAssembly (Wasm). | ||
It is designed to offer faster compilation speeds, improved interoperability with JavaScript, and better integration with browsers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
improved interoperability with JavaScript, and better integration with browsers.
it rises a question -- "comparing to what?"
could be misinterpreted and/or mislead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I re-used the text that has been written for the Overview page.
Is it OK, or do we want to see something new here?
compose-jetsnack/README.md
Outdated
|
||
### Run Web version via Gradle | ||
To set up the environment to run WebAssembly, you only need to enable an experimental [garbage collection feature](https://github.com/WebAssembly/gc): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it required only for applications built with Kotlin/Wasm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with current text it may feel like it's general requirement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, updated.
compose-jetsnack/README.md
Outdated
@@ -14,8 +14,11 @@ Web version of [Jetsnack application](https://github.com/android/compose-samples | |||
> If you face any issues, please report them on [YouTrack](https://youtrack.jetbrains.com/issue/KT-56492). | |||
|
|||
Kotlin/Wasm is a new experimental target that enables developers to compile Kotlin code to WebAssembly (Wasm). | |||
It is designed to offer faster compilation speeds, improved interoperability with JavaScript, and better integration with browsers. | |||
Wasm's compact and easy-to-parse bytecode potentially leads to faster application startup times, and its statically typed nature can improve application runtime performance. | |||
It is designed to offer: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as a shortcut, let's replace 17-21 with a modification of
Compiling Kotlin code to WebAssembly allows you to run it directly in the browser or any other environment that supports WebAssembly and meets Kotlin requirements. This opens up a wide range of possibilities, from building high-performance web applications to serverless functions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And tune it after merge.
No description provided.