Skip to content

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

Merged
merged 4 commits into from
May 10, 2023

Conversation

koshachy
Copy link
Contributor

@koshachy koshachy commented May 8, 2023

No description provided.

@koshachy koshachy requested a review from bashor May 8, 2023 21:44

# 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.
Copy link
Member

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

Copy link
Contributor Author

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?


### 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):
Copy link
Member

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

Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, updated.

@bashor bashor self-assigned this May 9, 2023
@@ -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:
Copy link
Member

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.

Copy link
Member

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.

@bashor bashor merged commit e65f2e1 into compose-jetsnack May 10, 2023
@koshachy koshachy deleted the compose-jetsnack-description branch May 10, 2023 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants