Perl on Speed: Multicode Programming for Mortals
By Aaron Crane (arc) from Edinburgh.pm, London.pm
Date: Saturday, 4 December 2010 12:25
Duration: 20 minutes
Tags: concurrent efficiency fast fork multicore multiprocessor parallel performance processor programming
You can find more information on the speaker's site:
As multi-core and multi-processor systems become ever more widespread, programmers are faced with a new challenge: writing software that can take full advantage of the parallelism in the hardware.
Concurrent code has a reputation for being tricky to get right, but with the right tools, that needn’t be true. This talk is a case study of how a vanilla serial-execution Perl program was parallelised, using Unix’s fork as the fundamental primitive rather than threads. The simplicity of programming with fork meant that the work only took an evening, but the result is also efficient — we got a near-linear speedup in the number of CPU cores.
If you’ve got code you’d like to run faster on multi-core hardware, this talk will open your eyes to simple, powerful, stable approaches to writing parallel software.
Attended by: Squeeky, Matthew Black, Colin Horne (cdfh), Martin Berends (mberends), Martin Evans (mjevans), Katherine Spice, James Mastros (theorbtwo), Peter Haworth (pmh1wheel), Paul Evans (LeoNerd), Wendy Van Dijk (woolfy), James Morris, Gabi Hack (gabimuc), Rosellyne Worrall (rozallin), Simon Williams, Christopher Swain (Chris), James Roberts, Tim Bunce, Dave Evans,