Boost logo

Boost Users :

From: Khandelwal, Amit (amit.khandelwal_at_[hidden])
Date: 2008-05-29 08:43:12


Appreciate your response. Any thoughts on why the designers of boost
decided not to write interfaces for their classes?
 

-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Nikolai N
Fetissov
Sent: Wednesday, May 28, 2008 10:54 PM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] Off topic: Interface / design question

>
> Background:
> I am/was planning to profile the thread libraries from boost and ACE.
> During this experiment, I wish we had an interface class defined for
> threads. Also, I wish boost and ACE had implemented those interface
> classes. It would have helped someone like me profile different C++
> libraries with ease.
>
> I was going through the header files of boost and I don't see a
> interface classes being used. I am trying to understand was there a
> conscientious decision made to not define them. I am trying to
> understand the reason behind those decisions. It will help newbie's
> like me to understand C++ better and write better code.

Amit,

ACE and Boost are unrelated projects, and there's no universal thread
"interface" to implement. This doesn't mean you can't design thin
wrappers yourself for your experiment.
Honest advise though - do not use ACE, even if you find it faster, which
I very much doubt. Boost is a set of modern C++ libraries, pushing its
way into standard C++, and developed by world experts; while ACE is
dated, ugly, monolithic monster that forces you into wrong design
choices.

Hope this helps.

--
 Nikolai
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This message is intended only for the personal and confidential use of the designated recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.  This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such.  All information is subject to change without notice.
--------
IRS Circular 230 Disclosure:
Please be advised that any discussion of U.S. tax matters contained within this communication (including any attachments) is not intended or written to be used and cannot be used for the purpose of (i) avoiding U.S. tax related penalties or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net