Mattia Barbon wrote:
[...] at my previous job if the task called for threads, Python was
used, and Perl was not considered an option (and, frankly, for very
good reasons):
- memory occupation
- creating new threads is slow
- because some key modules are not thread-safe (DBI for example,
discourages use of threads in production!)
And, unfortunately, I have heard many more people raising similar
points than I heard people saying that ithreads were the right tool
for their job.
Do you (or does anyone) know what the situation will be like under Perl 6?
In light of the recent use.perl post by pmichaud, it seems now is the
time to raise these issues with the P6 development team to make sure
that it surpasses P5's limitations in concurrency / threading.
If I knew enough about the topic to formulate a constructive & coherent
request I'd get in touch with them myself. What is needed, beyond "Make
threading work better"?
-- Ryan