Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Why upgrade perl?

by BrowserUk (Pope)
on May 20, 2013 at 16:29 UTC ( #1034362=note: print w/ replies, xml ) Need Help??


in reply to Re: Why upgrade perl?
in thread Why upgrade perl?

we upgraded some of our servers to Perl 5.16 because it seems to have much better threads.

Any pointers to the evidence?


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re^2: Why upgrade perl?
Re^3: Why upgrade perl?
by Laurent_R (Parson) on May 20, 2013 at 18:54 UTC

    As I said, I do not really know the details. This is not my main work, but an application for which I only work occasionally. It was previously working on 5.8, if I remember correctly (or perhaps 5.10, but I think it was 5.8), and they decided to upgrade because they wanted to use threads in a new framework developped internaly, and, apparently, it does make a difference. I do not know the details personally, but I would tend to trust the person who proposed that upgrade decision, because I know it is someone who usually knows fairly well what he is doing.

    But the point is that the improvement was compared to Perl 5.8, not a more recent version.

      As I said, I do not really know the details.

      Okay thanks.

      I'm always interested in staying abreast of changes and improvements in the threading support as I make a great deal of use of them. So any time I think I've missed something I try to track down more information.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

        I don't think these could be classified as "much better" improvements to Perl's threads, but there are some bug fixes listed in perl5160delta that target threads. Perl 5.18.0 has some additional fixes, but they appear less significant than those in 5.16.0. However, at least one of the bug fixes under 5.18.0 targets threads on Win32, which I think is one of platforms you commonly use.

        If your code isn't tickling any of those bugs, fixes to thread support alone probably wouldn't be sufficient motivation to upgrade. For me, some of the Unicode support improvements found in 5.16.x were motivation enough to migrate to 5.16.

        The list of modules that are broken in ways incompatible with Perl 5.18 is still significant enough, in my opinion, to wait awhile for module authors to have time to respond to the wake up call and fix their code that relies on hash order. I installed it in a perlbrew environment to see which, if any, of the modules that I frequently employ were going to be problematic, and discovered at least one that needs to have a broken test fixed.


        Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1034362]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2014-12-20 13:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls