in reply to Re^14: 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

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.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."
  • Comment on Re^15: Slow evolution of Perl = Perl is a closed Word (thread decade)