Skip to content

Use WebAssembly.instantiate in the browser#9

Closed
Liamolucko wants to merge 4 commits intomatmen:browserfrom
Liamolucko:instantiate
Closed

Use WebAssembly.instantiate in the browser#9
Liamolucko wants to merge 4 commits intomatmen:browserfrom
Liamolucko:instantiate

Conversation

@Liamolucko
Copy link

WebAssembly.instantiate() compiles the WebAssembly on another thread, meaning you don't have to use a Worker.

@matmen matmen added the enhancement New feature or request label Jan 13, 2021
@matmen
Copy link
Owner

matmen commented Jan 14, 2021

I kinda liked the idea of having it run in another thread, but i guess people can still just move it to a WorkerThread.
I'll write some tests for the browser branch when im back home and then merge it. Cheers

matmen added a commit that referenced this pull request Jan 24, 2021
@matmen
Copy link
Owner

matmen commented Jan 24, 2021

merged in 23e4081

@matmen matmen closed this Jan 24, 2021
@Liamolucko Liamolucko deleted the instantiate branch January 24, 2021 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants