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

Language support #32

Open
2 tasks done
martinfouilleul opened this issue Oct 17, 2023 · 2 comments
Open
2 tasks done

Language support #32

martinfouilleul opened this issue Oct 17, 2023 · 2 comments
Labels

Comments

@martinfouilleul
Copy link
Collaborator

martinfouilleul commented Oct 17, 2023

We will need to organize bindings in separate repos so that we don't clutter the main repo. App devs would get the main repo and pick the bindings repo for their language of choice, and be set up. This would also allow people to start working on bindings more autonomously.

@martinfouilleul martinfouilleul changed the title Langage support roadmap Langage support Oct 17, 2023
@martinfouilleul martinfouilleul mentioned this issue Oct 17, 2023
7 tasks
@martinfouilleul
Copy link
Collaborator Author

martinfouilleul commented Oct 18, 2023

Regarding C, I had the hope that we could pull a stripped down version of musl used by Zig's wasm32-freestanding-musl target... except this target actually won't work. You'd need to target wasi and provide the required shims for it to work.
Loris told me that it will work in the future, because Zig will be providing its own libc-compatible interface to Zig's standard library, which has no problem being freestanding.
In the meantime, it seems we'll have to strip down musl of all OS-related stuff ourselves. A slightly less onerous option might be to start from wasi-libc and remove anything requiring wasi "syscalls", since they already made the effort of making the rest of musl work with wasm.

@bvisness bvisness changed the title Langage support Language support Oct 19, 2023
@martinfouilleul
Copy link
Collaborator Author

Point 1 and second comment is solved by our new orca libc thanks to Reuben! (see #58 )
For Odin/Zig/etc bindings see also #68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant