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

Does this support kotlin wasm? #68

Open
ColtonIdle opened this issue Aug 8, 2024 · 4 comments
Open

Does this support kotlin wasm? #68

ColtonIdle opened this issue Aug 8, 2024 · 4 comments

Comments

@ColtonIdle
Copy link

Title

@thebehera
Copy link
Contributor

I will take a look but as of now it's not supported. Shouldn't be too hard to enable

@IvanKopylov
Copy link

@thebehera It would be great if you added this. Thanks!

@UndeRus
Copy link

UndeRus commented Oct 7, 2024

You need to implement wasm version of PlatformBuffer, I tried implement it here https://github.com/UndeRus/buffer

@thebehera
Copy link
Contributor

You need to implement wasm version of PlatformBuffer, I tried implement it here https://github.com/UndeRus/buffer

Are you sure a kotlin ByteArray is the right backing type? I still have to investigate further but I believe this might trigger extra memory copies compared to using some other type. Some reference: WebAssembly/design#1162

Sorry this has been taking some time for me as other parts of life have been eating up my time

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

4 participants