Skip to content
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

Add GraalWasm demos using Photon. #275

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Conversation

fniephaus
Copy link
Member

This PR adds two demos that illustrate how GraalWasm can be used to embed Photon, a WebAssembly image processing library written in Rust, in Micronaut and Spring Boot applications.

The demos are tested using this GitHub workflow: https://github.com/graalvm/graalvm-demos/actions/workflows/graalwasm.yml.

@fniephaus fniephaus self-assigned this Sep 16, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 16, 2024
@fniephaus fniephaus marked this pull request as ready for review September 16, 2024 16:45
Copy link
Member

@jirkamarsik jirkamarsik left a comment

Choose a reason for hiding this comment

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

I tested both demos in JVM mode, native mode and PGO-native mode using Java(TM) SE Runtime Environment Oracle GraalVM 23-dev+37.1 (build 23+37-jvmci-b01) (sdk use java 23.ea.24-graal) and the 24.1 release artifacts from the staging repo. Everything worked smoothly. I only ran into out of memory issues when trying to build the native binary with the PGO instrument, which forced me to close my browser and other memory-intensive apps.

@fniephaus fniephaus merged commit eb6624d into master Sep 17, 2024
5 checks passed
@fniephaus fniephaus deleted the fniephaus/graalwasm-photon branch September 17, 2024 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants