Skip to content

The Perl Many-Core Engine

Photo of Jason Crome
Hosted By
Jason C.
The Perl Many-Core Engine

Details

Nick Tonkin is back for round two of his excellent Perl MCE talk!

The Perl Many-Core Engine is a complete and powerful suite of tools for bringing high-performance concurrency to your Perl programs. Whether your Perl version is old or new, threaded or not, running on Windows, Mac OS or *nix, MCE makes it faster.

This talk will provide an introduction to using the more basic functions of MCE and MCE::Shared to turbocharge your code with parallelization, making maximum use of all available cores on your machine.

(The talk assumes that you know at least what multi-process programming is, but even if not and all you know is you wish your program didn't take so long to get through your data, you will still take away simple working solutions that will yield improved performance.)

The following points and more will be included:

  • Brief overview of the packages and documentation
  • Brief discussion of the basic operating model underpinning the engine
  • Examples including:
  • Take an existing program and parallelize it with less than a dozen lines of code
  • Parallelize processing of a large data set with each worker updating a shared results variable
  • Use of some of MCE's many sugar methods
  • Implement a progress bar showing overall task completion updated by all workers
  • Benchmark results of various MCE implementations
  • Where to get more info and support

Our speaker's bio:
"Hi, I'm Nick Tonkin. I've been programming Perl since 1997, when we started building the interwebs. Currently I work on a small team building internal service bridge APIs for a large internet hosting/services provider. I live on a small farm in the Blue Ridge foothills of Southwest Virginia. When I'm not developing in Perl I'm usually either shoveling manure or trying to improve my bluegrass finger-pickin'."

Photo of Charlotte Perl Mongers group
Charlotte Perl Mongers
See more events