after reading your messages I walked, slept and then thought again.
Indeed, maybe scripting languages mostly share same difficulties, which prevent threads to be very light.
It could be that many things are done non-optimal - because ithreads are late-adder into the language, but - given that they're working good - I suppose they are o-key.
Maybe some optimizations could be added along the way: not cloning CODE (is it cloned now?) or maybe marking SVs that are designed not to be cloned?
Contrast to that, it is known that in Perl6 some language construct are designed to be parallelizable into different CPU, and - all is fine, but - again - there were discussions on parrot-list that threading model is suboptimal and needs reorganization.
Do you know anything about that?
Ok, I will do more walking, sleeping and thinking about ithreads
:)
Here is my agenda:
Another idea - given that you've stated that Liz was not right, and also considering that mentioned meditation article was long ago already - maybe its worth to write a disproof of her article?
I think - if you compile this current thread, make some kind of review - this could be a great advantage?
You've put number of efforts explaining things, maybe these efforts could be reused?
Just a thought.
Will you attend at nearest YAPC? (in Riga)
Regards,
Vadim.
In reply to Re^18: threading a perl script
by vkon
in thread threading a perl script
by Boetsie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |