haukex / webperl

Run Perl in the browser with WebPerl!

Home Page:https://webperl.zero-g.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Perl v5.38 Support?

wbraswell opened this issue · comments

Howdy @haukex, I hope this message reaches you well my friend!

There has been a bit of discussion about WebPerl online today, and it's been a while, so I figured I'd open an issue just to see how your Perl projects have been coming along lately?

Oh yeah, and it would be great to have Perl v5.38 support at some point... :-)

For work I've had to switch to Python, so I'm working less with Perl these days. But I have thought about WebPerl once in a while - maybe I will be able to do a manual build with a newer Perl eventually, but unfortunately I can't promise any timelines at the moment.

Thanks @haukex !
How can we eventually automate the process?

Well, at the moment the build is somewhat automated, but it builds against quite outdated versions of Perl and Emscripten - the reason I was considering a manual release is because theoretically then I can focus more on getting an actual release and its testing rather than the automation :-)

But anyway, in general, the main thing that would help is if some of the patches to Perl would make it into the core. I asked about that a while back on P5P but unfortunately didn't get much further than asking.

(I just checked and it appears that Emscripten has now changed from returning EAGAIN, so I hope it won't be necessary to manually patch the newer versions of Emscripten.)

There is a new official process which you will probably need to follow in order to have a better chance of your WebPerl-related patches being accepted:
https://github.com/Perl/PPCs/blob/main/docs/process.md

I don't know if it's related, but I was just talking with the maintainer of App::Staticperl and we confirmed that it works all the way up thru 5.36.0 but does not work for 5.38.0. He mentioned WebPerl and Staticperl are pretty much the only two projects that care about Perl static linking feature so it doesn't get much testing. It's a bummer to see it break in their big 5.38.0 release!