Parallel Perl – autoparallelizing interpreter with JIT

70 points - last Wednesday at 11:59 AM

Source

Comments

quantummagic today at 4:53 PM
I'm interested, but can't navigate the website. The down-arrow in the lower-right is unclickable, maybe covered by some semi-transparent chrome of my browser, not sure. And no idea why there need to be 4 directional arrows.
0xbadcafebee today at 4:59 PM
WHOA. Talk about burying the lede... Look from the beginning of the slide show, he made a super cool geothermal project! Look at the size of this hole!! https://perl.petamem.com/gpw2026/perl-mit-ai-gpw2026.html#/1... His cad drawings are great too!

Basically he wanted home automation in Perl to control his geothermal/solar house, and ended up reimplementing Perl with AI. That's some yak shaving...

joosters today at 8:09 PM
Awesome to see a perl JIT. I love perl, and it's exciting to see something that tries to offer good-enough compatibility to run most perl code.
rurban today at 7:16 PM
chrisaycock today at 5:51 PM
The project relies on Rayon [1] for scheduling parallel tasks and Cranelift [2] to JIT the hot loops.

There are plenty of other interesting features like auto-FFI, bytecode caching (similar to Python's .pyc files), and "daemonize" mode (similar to mod_perl or FastCGI).

[1] https://docs.rs/rayon/latest/rayon/

[2] https://cranelift.dev

hintymad today at 5:59 PM
The slides got stuck at https://perl.petamem.com/gpw2026/perl-mit-ai-gpw2026.html#/6. The right arrow disappeared. The down arrow was flashing, but did not respond to any clicks. I tried different browsers on my mac. None worked.
bmn__ last Wednesday at 11:59 AM
Homepage: https://perl.petamem.com

In case HN shows its user hostility again by cutting off the URI fragment, the intended deep-link was presentation slide #/4/1/1

bheadmaster today at 6:07 PM
The down arrow doesn't respond because of the overlay page number. Only when clicking a little bit left of the overlay, it will work.

I can't help but giggle at the fact that AI written project doesn't seem to get its home page right.

postepowanieadm today at 5:13 PM
I'm too scared to check how good llms are in writing perl.
genpfault today at 7:12 PM
Not to be confused with GNU parallel[1], written in Perl.

[1]: https://en.wikipedia.org/wiki/GNU_parallel

petre today at 7:00 PM
Where's the codebase?

I had to build a Perl implementation of the Chaskey mac algorithm. ChatGPT spat out a working Perl prototype based on a C file for Arduino. It quite slow with not very much to optimize, so I made it write it with XS. A hour later I have a working XS implementation that compiles and tests cleanly.

So the AutoFFI thing is super interesting. The .plc also.

deleted today at 5:00 PM
shevy-java today at 6:02 PM
When will perl 7 be released?
gjvc today at 5:16 PM
[flagged]