Open francislavoie opened 5 years ago
Thanks for asking.
My plan is to be compatible with https://github.com/FriendsOfPHP/pickle/ for various reasons:
Thoughts?
No objections to that!
How would the building works? Is there a way to provide pre-build binaries? I assume that building Rust won't work everywhere.
We can distribute pre-build static libraries for the Wasmer runtime, but it won't be easily possible to the extension itself. I think Pickle will solve some problem.
Right now, it's just a matter of:
$ just rust
$ just php
and done. I will focus on that part later :-).
@Hywan Is that a suitable way of distributing it for now?
The last release of Pickle was Feb 2015 https://github.com/FriendsOfPHP/pickle/releases and the most recent commit was Sep 06, 2017
and it appears that there are issues with PHP 7.0
Pickle is working. We just wait on some stuff on the Composer side. But it's working.
With #71, we are close to a possible release on PECL! Rust is no longer required to compile the extension.
@Hywan is there any update?
Also, Pickle is not updated since 2017 and releases since 2015. What does this mean? Is is discontinued (I hope not)? Or it it finished so it doesn't need new changes (then changes should be released as new version)? And when will Composer support it?
Publishing php-ext-wasm
on PECL, or supporting Pickle is two different things (even if I'm one of the maintainers of both projects… it can confusing).
Publishing php-ext-wasm
on PECL is already here, see http://pecl.php.net/wasm and #76. We've an issue with PECL though, since we distribute shared libraries within the package. To avoid shared libraires, the user must have the Rust toolchain installed, and PECL doesn't support Rust as a compilation toolchain. We are trying to find a solution here.
About Pickle, Composer etc. I'm not sure this issue is the correct place to discuss about that. See the Pickle or Composer repositories instead.
Once this is no longer experimental (starting to look good with #4 being done!!), should this be put on PECL for easy installation?