Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^5: The future of Perl?

by Jenda (Abbot)
on Nov 11, 2014 at 21:18 UTC ( #1106886=note: print w/replies, xml ) Need Help??

in reply to Re^4: The future of Perl?
in thread The future of Perl?

There's plenty of places in Perl, where the built-ins were modeled to fit Unix. There's plenty of core modules designed to fit Unix. Porting of both to other operating systems often requires complicated hacks and emulations. Whenever there's something that works (a certain way) under Unix, it get's added and others have to bend over backwards to at least emulate it. When, on the other hand, there is anything other operating system specific, it has to be implemented as module with that OS in the name even if there were several "other" systems supporting that in a similar enough way.

In this particular case Windows has had UTF-16 filesystem for years, but as "On Linux, file names are zero-byte terminated binary strings, the interpretation is left to the userland. One can guess based on the locale, or just assume something globally, but neither approach is robust." nothing will ever be done with the core. It would be hard for the Unix-based ports. erm. Sorry, that's not a port, that's the base. Right?

Would it be harder, more restricted or trickier than, say, the fork emulation? I doubt it.

If it was easy under Linux, it would be done and others would find a way to emulate it, even if not 100% correctly, and the emulations would eventually improve. If it's hard under Linux, it doesn't happen.

Enoch was right!
Enjoy the last years of Rome.

Replies are listed 'Best First'.
Re^6: The future of Perl?
by salva (Canon) on Nov 11, 2014 at 21:34 UTC
    On Linux/Unix systems, handling of encodings at the file system level is also broken. The only difference is that there you can work-around it.
      The only difference is that there you can work-around it.

      Have either of you tried Win32::Unicode::*?

      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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2021-02-28 22:35 GMT
Find Nodes?
    Voting Booth?

    No recent polls found