r/perl • • 6h ago

Best place to find Perl developers for hire?

19 Upvotes

My business needs some additional resource in the short-medium term from an experienced Perl developer. I'm at a bit of a loss as to where to find one, given that it's now somewhat niche and most people searching for jobs are not advertising experience with Perl.

As recommended by [u/ysth](u/ysth), some details:

- Remote, UK (open to elsewhere but must have fluent English)
- Open to commercials whether a fixed-term agreement, or ad-hoc for added flexibility
- Maintenance and developing on legacy perl websites/web applications

Does anyone have any recommendations?


r/perl • • 4h ago

question How long before a Perl2Shell exploit?

9 Upvotes

Just in the past couple of weeks we've had Php2Shell, Java2Shell and now Ruby2Shell.

How long before the AI researchers turn their guns on Perl?


r/perl • • 3h ago

perl5-mt: a Perl 5.40.2 fork with shared-memory threads, fibers, XS fault isolation, and SIMD

5 Upvotes

I've been working on a fork of Perl 5.40.2 called perl5-mt and just pushed it to GitHub: https://github.com/stratum42/perl5-mt

Perl has enabled me to do a ton over the years, and I built this mostly to solve the things that kept biting me on modern multi-core machines without throwing away decades of existing Perl code. The main idea is freezing the loaded program into a read-only boot image (mprotect / Intel MPK) shared across OS worker threads instead of cloning the whole interpreter like ithreads does. On top of that there are stackful M:N fibers (MT::Fiber), lock-free cells and channels, and an async I/O layer (:async / MT::IO).

The part I probably spent the most energy on is fault tolerance and keeping old CPAN XS usable. Thread-safe XS runs directly in workers, while legacy non-thread-safe XS gets routed into pre-forked out-of-process compartments (PERL_MT_XS_SPARES). If a bad C library crashes a compartment, a spare gets promoted and reloads the module in about 5 ms instead of taking down the whole process. Workers also run on their own sigaltstack so a SIGSEGV/SIGBUS/SIGFPEunwinds cleanly to the worker root without touching sibling workers, and there is heartbeat supervision (MT::Supervisor), supervised pools with backoff, explicit checkpoints, and warm primary/backup process pairs (pairs => 1), plus partition/namespace/resource-class controls (MT::SharedImage, MT::Namespace, MT::Class, MT::Partition).

While I was in the guts of the interpreter, I also added SwissTable hashes behind HV (PERL_MT_SWISS=0 to toggle off), packed typed arrays (MT::Array), SIMD kernels for bytes/UTF-8/regex spans, deterministic cross-host binary64 math (core-math, Eisel-Lemire, optional Ryu, canonical qNaN) plus MT::Decimal, an offload layer (MT::Accel) with live macOS Accelerate and AMD/Intel Mesa OpenCL support, and -Dusepgo / -Dusenative Configure targets.

Both macOS arm64 and Linux x86_64 pass the upstream make test_harness (~1.2M tests each, zero runtime failures) and produce identical cross-host SHA-256 numeric digests in t/mt/num_digest.t. There's a standalone benchmark script (./perl -I. -Ilib tools/bench-suite.pl) if you want to test it on your own box, and measured numbers from both machines (including PGO) are in MT_BENCH.md. I also wrote native backends for AIX, IBM i PASE, and z/OS USS (ASCII and EBCDIC), though those and some of the extra GPU/NPU/coprocessor offload slots haven't been run on real hardware yet, so if anyone here still has access to that iron and wants to kick the tires I'd love to hear how it goes.

I'm one person so I can't promise to maintain or extend it beyond my own needs, but if any of this is useful to you or worth picking apart for upstream ideas, have at it. Architecture notes are in MT_DESIGN.md.