If perl used native file handles instead of MS CRT file handles, ...

It doesn't so the speculation is moot. And in any case, that idea directly contradicts your own assertion that C Std Lib pulls it off.

And think through the knock-on effects of that idea. What would Perl on *nix use? It only has CRT filehandles.

Finally, my assertion was made in the context of a discussion about non-core IPC modules, not re-writing the entire Perl core.

Windows Alertable IO/APCs are an improved implementation of unix signals

I absolutely agree that POSIX signals are a fundamentally flawed concept & that Asynchronous IO is a far better approach...

But seriously, suggesting the latter is a "better implementation" of the former is like suggesting that hydraulically operated anti-lock brakes with carbon-fibre pads and ceramic disks are a "better implementation" of jamming a stick in the wheel spokes.

Although the goals are similar, it's more 'a completely different approach to solving the problem' than a "better implementation".

Your absolutely wrong. If your claiming thats not true,

All that just goes to prove the futility of trying to emulate one operating systems behavior within another.

More grist to my mill that emulators are a waste of programmer effort in a world that has hardware assisted VMs; and further refutation of this:

No. My opinion is that they are much more efficient than a VM.

Upon which we will simply have to agree to differ.

Emulators are always bug-ridden; always out-of-date; and always slow. I can see no point at all in using them.

On my previous machine -- a lowly, single core P4 system -- I had Ubuntu running in a VirtualBox VM and could run Linux consoles (almost) transparently on my XP desktop. I then went a step further and ran XP inside a VM inside the XP hosted Ubuntu VM.

I wouldn't recommend the latter, but I can see no reason to run buggy, out-of-date emulations when you can run the real thing in a VM.


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.

The start of some sanity?


In reply to Re^7: What is the preferred cross-platform IPC module? by BrowserUk
in thread What is the preferred cross-platform IPC module? by Theory

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.