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

Prebuild to WebAssembly too #1

Open
DuncanMacWeb opened this issue Nov 6, 2018 · 3 comments
Open

Prebuild to WebAssembly too #1

DuncanMacWeb opened this issue Nov 6, 2018 · 3 comments

Comments

@DuncanMacWeb
Copy link

DuncanMacWeb commented Nov 6, 2018

It would be good if yoga-layout-prebuilt could load yoga-layout in WebAssembly format in environments which support it (Node 8+ and 80% of browsers). Our experiments suggest it would be 200–250K smaller and correspondingly faster. @vadimdemedes have you investigated this at all?

Relates to: diegomura/react-pdf#364

@DuncanMacWeb DuncanMacWeb changed the title Prebuilt to WebAssembly too Prebuild to WebAssembly too Nov 6, 2018
@Skywalker13
Copy link

https://github.com/rickbutton/yoga-wasm is promising but (still) not working with react-pdf

@hlolli
Copy link

hlolli commented Jun 7, 2020

Is the emscripten option -s ALLOW_MEMORY_GROWTH not true for these asm/wasm compilations?

+1 for this idea. asm.js is a dying technology with little support and no development.

@Skywalker13
Copy link

An other to test, maybe it works with react-pdf ? https://github.com/pinqy520/yoga-layout-wasm

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

3 participants