RFC: IPC::MMA
am 16.02.2009 18:30:41 von Craig MacKenna
I would like to thank the people on this list who helped me get
my new CPAN module IPC::MMA up and running. Without
volunteers like those in this community, the technical world
would be a much poorer place.
If anyone would like to read the docs and/or try the module,
and send comments (probably not to the whole list), they would
be greatly appreciated. IPC::MMA might be just what you need
for your next project. (Current project? Last project?)
http://search.cpan.org/~mackenna/IPC-MMA-0.52/MMA.pod
Thanks,
cmac
www.animalhead.com
Re: RFC: IPC::MMA
am 16.02.2009 18:34:47 von Perrin Harkins
On Mon, Feb 16, 2009 at 12:30 PM, wrote:
> If anyone would like to read the docs and/or try the module,
> and send comments (probably not to the whole list), they would
> be greatly appreciated. IPC::MMA might be just what you need
> for your next project. (Current project? Last project?)
Have you considered making a CHI driver that uses this for cache
storage? I think it would work very well.
- Perrin
Re: RFC: IPC::MMA
am 17.02.2009 14:13:22 von aw
craig@animalhead.com wrote:
> I would like to thank the people on this list who helped me get
> my new CPAN module IPC::MMA up and running. Without
> volunteers like those in this community, the technical world
> would be a much poorer place.
>
> If anyone would like to read the docs and/or try the module,
> and send comments (probably not to the whole list), they would
> be greatly appreciated. IPC::MMA might be just what you need
> for your next project. (Current project? Last project?)
>
> http://search.cpan.org/~mackenna/IPC-MMA-0.52/MMA.pod
>
Sounds very nice.
Now, how about extending this so it would work on both Unix/Linux *and*
Windows platforms, figuring out itself where it is and doing whatever is
needed to use the OS mechanisms available ?
Just an old saw of mine...
Re: RFC: IPC::MMA
am 17.02.2009 15:43:23 von Perrin Harkins
On Tue, Feb 17, 2009 at 8:13 AM, Andr=E9 Warnier wrote:
> Now, how about extending this so it would work on both Unix/Linux *and*
> Windows platforms, figuring out itself where it is and doing whatever is
> needed to use the OS mechanisms available ?
The underlying library does not support Windows:
http://www.ossp.org/pkg/lib/mm/
It was built by Ralf Engelschall to allow sharing between processes on
unix, for use in Apache HTTPD 1.x. Since Windows uses threads
instead, it doesn't need this. You should be able to use the perl
threads sharing mechanism to do the same thing.
- Perrin
Re: RFC: IPC::MMA
am 17.02.2009 18:07:16 von Craig or Merikay MacKenna
IMO, the perl threads sharing mechanism is flawed because
(in my short experience with it) it does not allow certain
interesting items (e.g. tied) to be shared. I hope that
if Perl 6 is ever released it will have a better threading
component.
w/r/t "figuring out itself", in looking at the code it
looks like good old Ralf had quite a time just coping with
the various Unices and Linuces.
cmac
www.animalhead.com
On Feb 17, 2009, at 6:43 AM, Perrin Harkins wrote:
> On Tue, Feb 17, 2009 at 8:13 AM, Andr=E9 Warnier =
wrote:
>> Now, how about extending this so it would work on both Unix/Linux =20
>> *and*
>> Windows platforms, figuring out itself where it is and doing =20
>> whatever is
>> needed to use the OS mechanisms available ?
>
> The underlying library does not support Windows:
> http://www.ossp.org/pkg/lib/mm/
>
> It was built by Ralf Engelschall to allow sharing between processes on
> unix, for use in Apache HTTPD 1.x. Since Windows uses threads
> instead, it doesn't need this. You should be able to use the perl
> threads sharing mechanism to do the same thing.
>
> - Perrin
Re: RFC: IPC::MMA
am 17.02.2009 18:23:44 von Perrin Harkins
On Tue, Feb 17, 2009 at 12:07 PM, wrote:
> IMO, the perl threads sharing mechanism is flawed because
> (in my short experience with it) it does not allow certain
> interesting items (e.g. tied) to be shared.
Well, since everything shared by IPC::MMA has to go through Storable,
it has limitations as well.
- Perrin