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

Move memory allocation from Wasm to js #159

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Conversation

Maqrkk
Copy link
Member

@Maqrkk Maqrkk commented Sep 25, 2023

Previously, memory was allocated in Wasm and then exported to js. Now, in preparation for threading, we allocate the memory in js and then import it in Wasm.

@Maqrkk Maqrkk requested a review from yuri91 September 25, 2023 14:19
@Maqrkk Maqrkk force-pushed the move-memory-allocation branch from 7af0116 to 9bd87ff Compare September 25, 2023 14:38
@alexp-sssup
Copy link
Member

@Maqrkk This PR breaks support for memory exporting, that is used for CJ3 and CX

Previously, memory was allocated in Wasm and then exported to js.
Now, in preparation for threading, we allocate the memory in js and then import it in Wasm.
@Maqrkk Maqrkk force-pushed the move-memory-allocation branch from 9bd87ff to d943e45 Compare September 27, 2023 12:58
@alexp-sssup alexp-sssup merged commit 5895e18 into master Sep 27, 2023
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.

3 participants