in reply to Re^13: Slow evolution of Perl = Perl is a closed Word (thread decade)
in thread Slow evolution of Perl = Perl is a closed Word

That still involves passing objects from thread to thread, which means marshalling/unmarshalling.
  • Comment on Re^14: Slow evolution of Perl = Perl is a closed Word (thread decade)

Replies are listed 'Best First'.
Re^15: Slow evolution of Perl = Perl is a closed Word (thread decade)
by BrowserUk (Patriarch) on Sep 04, 2007 at 20:15 UTC
    That still involves passing objects from thread to thread

    No. Objects do not spring into existance, they are initialised from some source. In the examples above, that source is a byte stream from a keyboard or a simple data structure created from a DB-sourced datastream.

    Strings, and hashes or arrays. These can be cached in the originating thread and shared for passing between threads. They only get constituted into objects within the thread that is going to use them. The initialisation data just stays in the form in which it originates until it is passed to the therad that needs the object.

    So there is no marshalling/unmarshalling involved, just delayed object creation/initialisation.


    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.