-
Notifications
You must be signed in to change notification settings - Fork 52
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 Java bindings #855
Draft
ctrueden
wants to merge
24
commits into
InsightSoftwareConsortium:main
Choose a base branch
from
ctrueden:java
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Add Java bindings #855
Conversation
This file contains 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
✅ Deploy Preview for itk-wasm-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
ctrueden
force-pushed
the
java
branch
2 times, most recently
from
June 7, 2023 08:24
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
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.