Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Score: Perl 1, Ruby 0

by nevyn (Monk)
on Feb 23, 2006 at 21:21 UTC ( [id://532398]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Score: Perl 1, Ruby 0
in thread Score: Perl 1, Ruby 0

Multitasking doesn't require threads, even on win32 AIUI (I appreciate it might not be as easy as on a real OS, but sucks to be you). Having another task in the same address space as you, but doing something unrelated is just a huge pain for no gain.

--
James Antill

Replies are listed 'Best First'.
Re^4: Score: Perl 1, Ruby 0
by BrowserUk (Patriarch) on Feb 23, 2006 at 21:38 UTC

    I wouldn't use threads to run unrelated tasks in the same process. It's when the tasks are related and need to share data bi/multi-directionally that threads come into their own.

    As for the gibes about "real OS", if you think that following the fad for white on black 24x80 screens, advisory locking and all the other artifacts from the 1970s makes you an uber-geek, you're welcome to them :)


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

      This real OS runs 1400×1050×32 with better font antialiasing in terminal windows than Windows has anywhere… but you are certainly entitled to your drive letters and other CP/M artifacts.

      ;-)

      Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-03-19 02:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found