3 ms·
Rust, PHP had simple af builds/packaging. So no, not everything is complex, just old dinosaurs AND web.
by EugeneOZ 10y ago
Rust, PHP had simple af builds/packaging. So no, not everything is complex, just old dinosaurs AND web.
- eropple 10y agoPHP's packaging was only "simple af" until you had a binary dependency that wasn't part of your operating system. Complicated things exist.
- objectified 10y agoBut now you're hitting on one of the main points that was always criticized in PHP: the fact that it came with a lot of batteries included. The upside of this is that it makes PHP applications very easy to deploy, because often, you either don't need to resort to binary dependencies outside the realms of your OS's packaging system, or there will be a `php[major-version]-[library_binding]` package for your OS probably already in your OS's official package mirrors. Say all you want about PHP, but of all the application stacks I've had to deploy, PHP was and is probably still the simplest. The advantage of that shouldn't be underestimated. The only serious competitor in that space that I've ever touched is probably Go.
- fredsted 10y agoDoesn't composer do that? Ie. https://packagist.org/packages/anam/phantomjs-linux-x86-binary https://packagist.org/packages/anam/phantomjs-linux-x86-bina...
- EugeneOZ 10y agoYeah, you can recompile PHP 2-3 times per year, and it's just long line of args, nothing more. And you can compare it with every-time compilation of modern js apps. What an equation! And you forgot to mention Rust, but let's pretend it's normal way of arguing.
- mattnewton 10y agoI would never want to use php's "just recompile it with the new dependencies" approach ever again. It's a complete mess as soon as you go off the rails of what's included by default.
- EugeneOZ 10y agoI will never believe people recompile PHP binaries every day.