Closed phpstatic closed 4 years ago
Hello,
What binary are you talking about? Is it the php
binary?
We can use our Singlepass backend, which is lighter than the Cranelift backend (learn more about our backends). What's your usecase?
we like to add wasm into our deploy package: https://hub.docker.com/r/phpstatic/php https://phpstatic.com/
not know Singlepass before, I will try test build with Singlepass and update there.
I would love to get your feedbacks about our Singlepass backend :-).
late time I try the edge not get it build, I will try late again .
Today, I build Singlepass backend with php-ext-wasm into my php package, thanks for the tips.
Cool :-). If you need any help or assistance, please feel free to ask!
Also, were you able to reduce your package size? If yes, by how many? I'm interested by your results. Thanks!
The Singlepass php-ext-wasm increase about 4M package size, I like this result a lot.
Sorry I forget the old Cranelift package size, I just remember static library is bigger than all others library.
You probably mean “The singlepass [backend] decreases the package size of 4Mb”. That's great to hear!
Motivation
The default backend build size is huge, can we add https://github.com/wasm3/wasm3 as alternative backend choice to reduce the binary size ?