zlacker

[parent] [thread] 6 comments
1. sammy2+(OP)[view] [source] 2025-12-06 18:40:27
I don't understand how Perl fell off and PHP didn't
replies(6): >>dbalat+X >>inglor+a3 >>wvenab+y5 >>writti+6C >>SoftTa+y01 >>petese+031
2. dbalat+X[view] [source] 2025-12-06 18:47:02
>>sammy2+(OP)
I think PHP is way more accessible syntactically, even with all the standard complaints about the language. In the early 2000s it felt like "simple C style function calls embedded in HTML templates" more or less. Not much to have to teach there.

And serving it tends to be "copy the files to your web server's public dir".

3. inglor+a3[view] [source] 2025-12-06 19:03:46
>>sammy2+(OP)
PHP is, at least for me, way, way more readable. Similar enough to Java that you don't have to re-learn syntax too much.
4. wvenab+y5[view] [source] 2025-12-06 19:22:05
>>sammy2+(OP)
Perl is a very difficult language. PHP was a comparatively simple language. PHP was just a scripting language for C and incorporated as many open source C libraries as possible back when open source libraries were a bit of disjointed mess.

PHP's success and Perl's decline was obvious at the time.

5. writti+6C[view] [source] 2025-12-07 00:09:26
>>sammy2+(OP)
As someone who doesn't really know neither Perl nor PHP, PHP is more of a domain-specific EDSL than a mainstream programming language.

One of the few insights in the blog post that aren't stupid, fake, inconsistent and schizophrenic, is the one about PHP's common approach regarding spinning up new processes.

6. SoftTa+y01[view] [source] 2025-12-07 05:42:01
>>sammy2+(OP)
PHP has fallen off. Who is doing anything new in PHP?

PHP has a much bigger legacy of web stuff than Perl, because it was so much easier to use. But there's no future in it. Wordpress, Drupal, Joomla... all had their time but it's all in the past.

7. petese+031[view] [source] 2025-12-07 06:18:42
>>sammy2+(OP)
mod_php was dramatically simpler to use than mod_perl. If the sysadmin set it up, you didn't need to know it was there, and your regular PHP just ran really fast. That and nothing else really copied the "scriptable HTML file" paradigm which some people really really liked and made a very low barrier to entry compared to Perl. That's really what kicked off the demise of Perl -- it stopped being the most accessible way onto the internet. PHP also didn't screw up their major language upgrades like Perl did.

RoR helped Ruby push off its inevitable demise for a while, but it's going the same way as Perl. Python got lucky that it's become the defacto choice for everything ML.

[go to top]