On 30.07.2024 at 14:43, Derick Rethans wrote: > On Tue, 30 Jul 2024, Frederik Bosch wrote: > >> On 27-07-2024 16:52, Christoph M. Becker wrote: >> >>> I have only rough knowledge of `pecl` (the command) since I'm mostly >>> working on Windows, and I don't know anything about Cargo. So I >>> don't have the faintest idea whether that requirement would be a >>> stopper to add the extension to PECL. Do we have precendent for >>> that requirement? > > No, I don't think we don't. I would probably guess that a lot of people > would have a C compiler, and not a whole rust toolchain installed as > well. > > For the new PECL installer (PIE, https://github.com/php/pie) supporting > this "style" hasn't been taken under consideration. > > I would also say that it is unexpected to suddenly also have to download > a gazilion crates (it took 432MB!), on top of a whole rust compile > stack. Server environments will not likely to have this pre-installed > either.
Oh, this appears to be a problem. However, I believe at some time we need to support extensions written in Rust (to my knowledge there is Rust support even in the Linux kernel now). And what to do with skywalking (and maybe more packages) already using Rust? But this is unlikely to be the right thread, and maybe even not the most suitable mailing list. I wonder where to continue the discussion? Cheers, Christoph