From: Eric Veith1

> Bob,
> 
> what language would you have used? I admit this is my first Perl
project 
> to involve this kind of child process handling. 

Eric,

The final choice depends very much on A) target environment and B)
resources required. The use of libraries, both private and third party,
will also have a marked impact on how long it takes to complete a
project. Personally, I have a lot of C experience (> 20 years) with
various multi-tasking and multi-processing environments. So on a Posix
platform I would probably write the control program in C with pthreads.
On MS-Windows it would still be C, but using a different API. I know
several programmers that would do it in Java, and a couple that would
even fight through it with C++.

How to write the applications also depends on what they need to do. The
description I gave is a rough outline of the MS-Windows Service Control
Manager and the way it interacts with various services and the display
applet. Again, I have written several services in C, so I have working
templates already available for that model. But, if they have a GUI
component, that is a very different requirement from a console/ daemon/
service process, and requires significantly different tool kits. Also,
the choice of OS will dictate some of those requirements. Unfortunately,
there are not a lot of tool kits that are fully portable between
MS-Windows and the rest of the world.

Bob McConnell

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to