MESSAGE
DATE | 2024-08-08 |
FROM | Jeff Pang
|
SUBJECT | Re: [Hangout - NYLXS] reasons for modperl declines?
|
On 2024-08-08 07:26, Jan Kasprzak wrote: > 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.
That's a new viewpoint to me. but yes, the language in AI industry today is primarily python (like tensorflow and pytorch). Many students in university start their programming from 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.
It's great to see you have Mojo serve for websockets. I once had the same idea as you, but sorry didn't take into action finally.
> > 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.
Thank you.
-- regards, Jeff Pang _______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
|
|