B-C

 view release on metacpan or  search on metacpan

ramblings/yapceu2015.html  view on Meta::CPAN

<!DOCTYPE html>
<html>
  <head>
    <title>Using the new compiler in production</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <style type="text/css">
      /*@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
      @import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
      @import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);*/

      body { font-family: 'Droid Serif'; }
      h1, h2, h3 {
        font-family: 'Yanone Kaffeesatz';
        font-weight: normal;
      }
      .remark-code, .remark-inline-code { font-family: 'Ubuntu Mono'; }
    </style>
  </head>
  <body>
    <!-- Abstract:
cPanel was using B::C with perl 5.6.2 for over 10 years successfully. Recently we switched to the new compiler and 5.14.4.
During this work my team ported the perl core test suite to test the compiler with it. We successfully pass all core tests as well as our own tests (i.e. no 5.6.2 regressions). We use it now for over a year in production. Developers are happy all aro...

Some XS modules caused problems, and I will outline those briefly. I'll also outline briefly our further plans with 5.22, the next target. 
    -->
    <textarea id="source">

# Using the new compiler in production

    YAPC EU, Granada Sep 2, 2015, 14:30
    20 min
    Reini Urban, cPanel

---
# cPanel

Running compiled perl binaries on 70% of the webhosters world-wide,
with Centos 5-7.

---
# cPanel

Running compiled perl binaries on 70% of the webhosters world-wide,
with Centos 5-7. Centos 6 mostly.

Providing the SW stack for them, on top of Centos.

---
# History

System perl on centos usually 5.8.8 or 5.10.1

cPanel perl 5.14.4

cPanel compiled perl: 5.6.2 => 5.14.4 (since 2014)
---
# History

Perl 5.6.2 2001 - 2014 compiled with hash randomization

Stable B::C compiler, in core until 5.8.9, broken with 5.10.
Custom patches, optimized linker, see my previous YAPC::EU 2010 in Pisa talk.
---
# Criteria for cPanel



( run in 1.882 second using v1.01-cache-2.11-cpan-5735350b133 )