MESSAGE
DATE | 2024-08-07 |
FROM | Jan Kasprzak
|
SUBJECT | Re: [Hangout - NYLXS] reasons for modperl declines?
|
Hi, Jeff,
I work on a project with more than 1M lines of code in Perl (and mod_perl). My thoughts:
Jeff Pang wrote: > For me I run several apps on mod_perl, including a AI prediction app > which costs heavy CPU/ram. These apps run for long time and behave > just fine. > > Today it sounds very few people use mod_perl for > development/deployment. I think the main reasons may include, > > 1. perl for web development is somewhat out of date > 2. mp lacks threads support > 3. lacks a modern framework (rails like) > > And others? what's your thought?
I think the main reason is that kids learn Python in kindergarten these days, and therefore they do not seek a scripting language which is more powerful (inline regexes, local(), etc.) and in some aspects more regular (block = scope, oh well) than Python.
The threads/event-driven workflow is a problem, yes. When I wanted to add events/websockets to the system I work on, I fired up a separate web server based on Mojolicious instead, just for websockets part of it.
Then I wrote some more Mojolicious apps, and for small systems it works quite well. _And_ it adds a lot of fun. There are rough edges, and the authors seem to shift their focus on mojo,js, but it works and it is pleasure to use.
Just my two cents.
-Yenya
-- | Jan "Yenya" Kasprzak | | https://www.fi.muni.cz/~kas/ GPG: 4096R/A45477D5 | We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise. --Larry Wall _______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
|
|