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

JavaScriptKit as a "system" library? #61

Open
MaxDesiatov opened this issue Sep 16, 2020 · 1 comment
Open

JavaScriptKit as a "system" library? #61

MaxDesiatov opened this issue Sep 16, 2020 · 1 comment

Comments

@MaxDesiatov
Copy link
Contributor

It would be great if we could provide shims for Dispatch and Foundation APIs that rely on JS hosts directly instead of WASI. The problem is that Dispatch and Foundation are "system" modules shipped with the SwiftWasm SDK, while JavaScriptKit is consumed by users via SwiftPM.

I wonder if we could consider promoting JavaScriptKit to a "system" library, I guess Swift for Tensorflow does a similar thing with PythonKit already. This will obviously require our API to become much more stable, but I hope it would be worth it.

WDYT?

@kateinoigakukun
Copy link
Member

I think that would be a good option. However, I think it's too early to ship this in the toolchain due to compatibility issues.

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

No branches or pull requests

2 participants