xiaoyafeng has asked for the wisdom of the Perl Monks concerning the following question:
Hi Esteem Monks!
If I know correctly, perl has many type of variable: lexical variable, package variable, interpreter variable. but it lacks a real global variable(crossing multi-interpreter)
no real gloabl variable on perl maybe not a big problem, but my question is, why perl doesn't have a management container on perl interpreter? If perl have a management container, we can do more (I guess) to manipulate interpreter: share memory, attach/detach interpreter, resource management(GC?) etc. A container may slightly affect the performance, but it can let perl having more power and better face on the modern multi-core environment. At least maybe we don't need see the discourage label on threads for next 5 years?it seems Coro::Multicore does this work more or less, but it only can be used on XS.
Is there some difficulty on this? or maybe this feature wouldn't help perl?, Whatever the reason, Please enlighten me out. Thanks!
I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: having a container on perl VMs is good ?
by kcott (Archbishop) on Nov 11, 2022 at 11:34 UTC | |
by cavac (Parson) on Nov 17, 2022 at 15:29 UTC | |
by kcott (Archbishop) on Nov 17, 2022 at 16:37 UTC | |
Re: having a container on perl VMs is good ?
by Corion (Patriarch) on Nov 11, 2022 at 09:42 UTC | |
by xiaoyafeng (Deacon) on Nov 11, 2022 at 09:52 UTC | |
by Corion (Patriarch) on Nov 11, 2022 at 10:30 UTC | |
Re: having a container on perl VMs is good ?
by NERDVANA (Deacon) on Nov 12, 2022 at 00:43 UTC | |
by Corion (Patriarch) on Nov 12, 2022 at 06:45 UTC |
Back to
Seekers of Perl Wisdom