Draft
Conversation
✅ Deploy Preview for itk-wasm-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
f0391bc to
8996520
Compare
This inherits the SciJava Bill of Materials; see https://github.com/scijava/pom-scijava#readme for details.
Adapted from wasmtime-java example at: https://github.com/kawamuray/wasmtime-java/blob/v0.14.0/examples/src/main/java/examples/HelloWorld.java
We call stdout-stderr-test.wasi.wasm's unnamed function.
Thanks ChatGPT for the kickstart.
For now, just a straight conversion from Python. We will adjust later to avoid the anti-pattern of enumerated cases, in favor of extensibility via Java's type system.
For some reason, these methods throw ClassNotFoundException... sort of. They don't actually *throw* it, but in the Eclipse debugger, I see the constructor terminate early and reporting that this exception happened. But it doesn't stop execution of the thread for some reason.
And begin reworking the enum types. Nothing new works yet.
This was referenced Jul 5, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This branch adds a simple Java library adapting ITK data structure to Java ones. For our initial effort, we have chosen to use the ImgLib2 library, which provides interface-driven support for n-dimensional images in a similar manner to ITK. ImgLib2 is also the underlying data model for the ImageJ2 and Fiji projects, so this approach should make it easier to integrate ITK functionality into Fiji.