Re: [boost] ANN: POCO - C++ Portable Components

My colleague just showed me a very concise example of how he created a service that can be registered with Windows. The same code works for Unix as well. I don't think there are any boost libraries that can do this yet.
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Cliff Green Sent: Friday, July 21, 2006 3:10 PM To: boost@lists.boost.org Subject: Re: [boost] ANN: POCO - C++ Portable Components
I've only quickly scanned the POCO web page, but it appears that there is quite a bit of overlap with Boost (and will be even more overlap in the future). In particular:
- Threading (existing in Boost, with upcoming enhancements) - Network programming (Asio, in upcoming release) - Streams, Filesystem (FS and Iostreams already in Boost) - Shared libraries, loading (talked about but not in Boost) - Logging, error reporting (submitted but rejected, promised for future Boost review) - Security (not sure if any overlap with Boost) - XML parsing (talked about, urgently needed in Boost, IMO) - Configuration file, options handling (Program Options already in Boost, Property Tree in future release)
It might be interesting to compare interfaces, functionality, and semantics, however. Or see if parts of the POCO components should be reworked as needed and submitted for review to be part of Boost.
ACE is a very mature, capable, and well-tested set of libraries (despite the initial appearance of some web pages). It has some real advantages (and some disadvantages, mostly dealing with it's age, since it's vintage is close to 15 years). I and others have made comments and given short overviews of ACE in previous Boost postings, so a search through the Boost archives would help. ACE and Boost are quite different in interfaces and approach, so there's not much (if any) mix and match between the two (parallel co-existence works just fine, as I can attest to from experience).
Cliff _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On Fri, 21 Jul 2006 15:21:09 -0700 "Sohail Somani" <s.somani@fincad.com> wrote:
My colleague just showed me a very concise example of how he created a service that can be registered with Windows. The same code works for Unix as well.
I don't think there are any boost libraries that can do this yet.
Agreed, and as I noted there's other components of POCO that are not (yet) in Boost (in particular, XML parsers). So what about someone submitting a "service" library for Boost? (I'm not sure what the definition of a service is - I'm a little bit familiar with Windows services, and the same for Unix daemons, but not sure what the higher-level abstraction for both would be, since the details of both OS facilities have some significant differences.) Cliff

Cliff Green wrote:
On Fri, 21 Jul 2006 15:21:09 -0700 "Sohail Somani" <s.somani@fincad.com> wrote:
My colleague just showed me a very concise example of how he created a service that can be registered with Windows. The same code works for Unix as well.
I don't think there are any boost libraries that can do this yet.
Agreed, and as I noted there's other components of POCO that are not (yet) in Boost (in particular, XML parsers). So what about someone submitting a "service" library for Boost? (I'm not sure what the definition of a service is - I'm a little bit familiar with Windows services, and the same for Unix daemons, but not sure what the higher-level abstraction for both would be, since the details of both OS facilities have some significant differences.)
This is something that could be part of boost.process which is an SOC project in the works now: https://boost-consulting.com:8443/trac/soc/wiki/process Julio and I have at least discussed that this could either be part or an extension of the core library -- see the bottom of: https://boost-consulting.com:8443/trac/soc/wiki/process/DesignThoughts/Discu... If you really want to see this functionality it would be good to say so. Jeff

Sohail, Cliff Look at Chapter 5 "The ACE Service Configurator Framework" in "C++ Network Programming" v2 of D. Schmidt . The chapter is about the subject of your discussion and explains how it works. V. Salamakha Cliff Green <cliffg@codewrangler.net> wrote: On Fri, 21 Jul 2006 15:21:09 -0700 "Sohail Somani" wrote:
My colleague just showed me a very concise example of how he created a service that can be registered with Windows. The same code works for Unix as well.
So what about someone submitting a "service" library for Boost? (I'm not sure what the definition of a service is - I'm a little bit familiar with Windows services, and the same for Unix daemons, but not sure what the higher-level abstraction for both would be, since the details of both OS facilities have some significant differences.) Cliff --------------------------------- Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail Beta.
participants (4)
-
Cliff Green
-
Jeff Garland
-
Sohail Somani
-
val salamakha