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

Dynamic language choice #13

Merged
merged 10 commits into from
Oct 30, 2024
Merged

Dynamic language choice #13

merged 10 commits into from
Oct 30, 2024

Conversation

kubukoz
Copy link
Member

@kubukoz kubukoz commented Oct 30, 2024

The idea is that we don't need a separate Java class/interface for each language we want to use: the interface is simple enough that we can manually find the desired method using the NativeLibrary interface of JNA.

Also showcasing the same idea with dlopen/dlsym in C, which should make the same thing possible on Scala Native when support for it gets added.

@kubukoz kubukoz marked this pull request as ready for review October 30, 2024 15:54
@kubukoz kubukoz changed the title WIP: dynamic language choice Dynamic language choice Oct 30, 2024
@kubukoz kubukoz merged commit 4028f07 into main Oct 30, 2024
10 checks passed
@kubukoz kubukoz deleted the wip-dynamic-langs branch October 30, 2024 15:57
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.

1 participant