Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Microsoft partners with Strawberry Perl to improve the CPAN

by Anonymous Monk
on Dec 07, 2008 at 07:32 UTC ( #728669=note: print w/ replies, xml ) Need Help??


in reply to Microsoft partners with Strawberry Perl to improve the CPAN

Doesn't seem useful because coding for portability doesn't require a windows machine, and most CPAN authors aren't interested.


Comment on Re: Microsoft partners with Strawberry Perl to improve the CPAN
Re^2: Microsoft partners with Strawberry Perl to improve the CPAN
by moritz (Cardinal) on Dec 07, 2008 at 10:43 UTC
    So you think that coding an XS module that links to external libraries can be done 100% portable, without any need for testing on different systems?

    Either you are very na´ve or a troll.

      They said they provide accounts to all CPAN authors, and most do not code XS modules.
        While I have no exact statistics - I believe that quite a bit of CPAN modules use XS and nearly all of them rely on some XS in the prerequsites.

        Just because the module doesn't use XS, doesn't mean it'll work on Windows. I've got a module that doesn't work, because it deals with making a system() call to start another process, and I haven't gotten around to testing it on Windows. This could get useful...

        If nothing else, that's a huge amount of resources MS is putting forward.

        There are portability issues affecting Windows outside the realm of XS -- see perlport.

        It's less work for non-XS modules to verify and maintain compatibility. Shouldn't that be all the more reason to do so? This initiative is probably most useful in such cases.

        --
        Marvin Humphrey
        They said they provide accounts to all CPAN authors, ... and most CPAN authors aren't interested.

        Man, (and you've gotta be a man), be a hero and go green. You could save the world a gob load of natural resource by supplying your local power station with those chips off your shoulders.

        If MS had suggested that they would only supply accounts to those CPAN authors that had shown an interest in supporting their modules on windows, you'd be up in arms. If they'd constrained it to only those modules that made special use of windows facilities, you'd be up in arms. They say: "Anyone who wants to", and you're still up in arms.


        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.
Re^2: Microsoft partners with Strawberry Perl to improve the CPAN
by DrHyde (Prior) on Dec 08, 2008 at 12:05 UTC

    Even if you do your best to follow the rules and code portably, you still need to *test* your code on any weird platforms you care to support - such as Windows - just to make sure that you *did* follow all the portability rules and not miss anything. And there are plenty of cases where, to make your code portable, you need to write just a few lines of OS-specific code. There's at least two of my modules - neither of which uses XS, by the way - for which I will find this very useful.

    Sure, I could just run Windows in a virtual machine, but that requires an expensive Windows licence, and that I know how to run Windows securely, which I don't.

    Bravo Microsoft! Bravo Adam Kennedy!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-07-11 03:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (217 votes), past polls