473,626 Members | 3,343 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Which libraries in Boost are mature enough to be used in real applications?


Boost has many terrific libraries.
But I want to know whether they are ready for using in real projects.
Which of them are mature enough, or just only in progress?

May 5 '06 #1
34 3154
"Guch Wu" <gu****@gmail.c om> wrote in message
news:11******** *************@i 40g2000cwc.goog legroups.com...
: Boost has many terrific libraries.
: But I want to know whether they are ready for using in real projects.
: Which of them are mature enough, or just only in progress?

Well, the most mature ones have already been adopted for inclusion
into tr1/tr2 or the next C++ standard ;)

To make it into boost, most libraries will have attained a reasonable
level of maturity. All of them have undergone a peer review.
All of them should be at least as good as in-house libraries
of most companies...
But of course, some have a more generally useful scope than others.
Some are undergoing revisions, etc. But the same would happen with
the standard C++ library if it were not an ISO standard (I'm pretty
sure that the design of std::string would have been revised by now).

I think that you are approaching the problem from the wrong end:
you shouldn't analyze the solution before identifying the problem.

First look at the collection of available libraries, and identify
those that could be useful to you. For those libraries, see if
they appear to fit your problem domain and can save you time.

If you want to study boost only to see what's ahead, start with
the libraries that have been included in tr1, or proposed for tr2:
http://www.open-std.org/jtc1/sc22/wg...2005/n1745.pdf
http://www.open-std.org/jtc1/sc22/wg...005/n1810.html
hth -Ivan
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form
May 5 '06 #2
Thanks!
I want to use lambda and uBLAS. But I don't know how to use them till
now.
I think there needs more samples in Boost documents.

May 5 '06 #3
"Guch Wu" <gu****@gmail.c om> wrote in message
news:11******** **************@ u72g2000cwu.goo glegroups.com.. .
: Thanks!
: I want to use lambda and uBLAS. But I don't know how to use them till
: now.
: I think there needs more samples in Boost documents.

Please consider joining the boost mailing lists:
http://www.boost.org/more/mailing_lists.htm

bu yong kerh chee -Ivan
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form

May 5 '06 #4
Ivan Vecerina wrote:
"Guch Wu" <gu****@gmail.c om> wrote in message
news:11******** *************@i 40g2000cwc.goog legroups.com...
: Boost has many terrific libraries.
: But I want to know whether they are ready for using in real projects.
: Which of them are mature enough, or just only in progress? First look at the collection of available libraries, and identify
those that could be useful to you. For those libraries, see if
they appear to fit your problem domain and can save you time.


The majority of boost libraries aren't domain specific, but rather
extensions to the standard library that are of general utility to pretty
much any C++ program. Do you use analyse your problem domain before
deciding which parts of the standard library to use?

Tom
May 5 '06 #5
"Tom Widmer" <to********@hot mail.com> wrote in message
news:e3******** **@emma.aioe.or g...
: Ivan Vecerina wrote:
: > "Guch Wu" <gu****@gmail.c om> wrote in message
: > news:11******** *************@i 40g2000cwc.goog legroups.com...
: > : Boost has many terrific libraries.
: > : But I want to know whether they are ready for using in real
projects.
: > : Which of them are mature enough, or just only in progress?
:
: > First look at the collection of available libraries, and identify
: > those that could be useful to you. For those libraries, see if
: > they appear to fit your problem domain and can save you time.
:
: The majority of boost libraries aren't domain specific, but rather
: extensions to the standard library that are of general utility to pretty
: much any C++ program.

I would rather think that a majority is domain-specific,
but let's save ourselves the effort of making a count.

: Do you use analyse your problem domain before
: deciding which parts of the standard library to use?

Yes. Of course.

Most of my programs have not needed to use <bitset>, <valarray>,
<locale>, <complex>, <queue>, <strstream>, <cassert>, <csignal>,
<csetjmp>, <clocale>, <ctime>, <numeric>.... .
Most of my implementation files include only a subset of the rest.

And the broader the scope of the libraries,
the pickier one needs to be.

Ivan
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form
May 5 '06 #6
On 5 May 2006 00:10:47 -0700, "Guch Wu" <gu****@gmail.c om> wrote:
Boost has many terrific libraries.
But I want to know whether they are ready for using in real projects.
Which of them are mature enough, or just only in progress?


I wouldn't use Boost libraries (actually Boost is one monolitic
library) in real-world projects because they clearly don't pass
McConnell's software Litmus Test:
"When programming is seen predominately as an attempt to manage
complexity, the litmus test for any design or implementation approach
becomes clear: Does the approach increase or decrease overall system
complexity? If a design seems simple and yet accounts for all the
possible cases, it is a good design. If an implementation results in
code that is easy to read and is more simple than clever, it is a good
implementation. "
http://www.stevemcconnell.com/ieeesoftware/bp06.htm

Best wishes,
Roland Pibinger
May 5 '06 #7
Roland Pibinger wrote:
On 5 May 2006 00:10:47 -0700, "Guch Wu" <gu****@gmail.c om> wrote:
Boost has many terrific libraries.
But I want to know whether they are ready for using in real projects.
Which of them are mature enough, or just only in progress?

I wouldn't use Boost libraries (actually Boost is one monolitic
library) in real-world projects because they clearly don't pass
McConnell's software Litmus Test:
"When programming is seen predominately as an attempt to manage
complexity, the litmus test for any design or implementation approach
becomes clear: Does the approach increase or decrease overall system
complexity? If a design seems simple and yet accounts for all the
possible cases, it is a good design. If an implementation results in
code that is easy to read and is more simple than clever, it is a good
implementation. "
http://www.stevemcconnell.com/ieeesoftware/bp06.htm

Best wishes,
Roland Pibinger

Hm. Using boost's smart pointers, lexical casts, and unit testing
programs seem to substancially reduce the complexity of my C++ programs.

Joe
May 5 '06 #8
Roland Pibinger wrote:
On 5 May 2006 00:10:47 -0700, "Guch Wu" <gu****@gmail.c om> wrote:
Boost has many terrific libraries.
But I want to know whether they are ready for using in real projects.
Which of them are mature enough, or just only in progress?

I wouldn't use Boost libraries (actually Boost is one monolitic
library) in real-world projects because they clearly don't pass
McConnell's software Litmus Test:
"When programming is seen predominately as an attempt to manage
complexity, the litmus test for any design or implementation approach
becomes clear: Does the approach increase or decrease overall system
complexity? If a design seems simple and yet accounts for all the
possible cases, it is a good design. If an implementation results in
code that is easy to read and is more simple than clever, it is a good
implementation. "
http://www.stevemcconnell.com/ieeesoftware/bp06.htm

Best wishes,
Roland Pibinger


I am not sure you can win this debate this way... :)

The only way how to do this is to _demonstrate_ superior approach. Bring
some facts.... (and even then it will be very hard, believe me ;)

Mirek
May 5 '06 #9
On Fri, 05 May 2006 22:42:58 +0200, Mirek Fidler <cx*@volny.cz > wrote:
I am not sure you can win this debate this way... :)

The only way how to do this is to _demonstrate_ superior approach. Bring
some facts.... (and even then it will be very hard, believe me ;)


A superior approach in what respect and for which purpose? Superior in
usability, simplicity and convenience for real-world users? Superior
in exploiting the most complex template meta-programming techniques?
There is nothing wrong with Boost when it is considered what it is: an
experiment in template programming. The (implicit) Boost motto is
"Look what we can do with templates!". The criteria for real-world
libraries and applications point in the opposite direction. For the
latter the goal is to provide large functionality with small,
convenient and safe interfaces. Anyone who claims that Boost is made
for real-world users either doesn't know Boost or the real world.
Probably both.

Best regards,
Roland Pibinger

----------------------
"From early on, we wanted a product that would seem so natural and so
inevitable and so simple, you almost wouldn't think of it as having
been designed"
Jonathan Ive, designer of the iPod
May 6 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
6134
by: John Bentley | last post by:
John Bentley: INTRO The phrase "decimal number" within a programming context is ambiguous. It could refer to the decimal datatype or the related but separate concept of a generic decimal number. "Decimal Number" sometimes serves to distinguish Base 10 numbers, eg "15", from Base 2 numbers, Eg "1111". At other times "Decimal Number" serves to differentiate a number from an integer. For the rest of this post I shall only use either...
9
2871
by: Peter v. N. | last post by:
Hi all, First off: consider this to be a low priority thread! This may sound heretical: but I'd like to know what the community thinks about using Boost extensively in C++ projects (mainly for threads and numeric applications). Better reinvent the wheel (for true C++ programmers) or
85
5310
by: g | last post by:
Hello, is there any library for C as Boost is for C++? thanks in advance,
20
2142
by: Neo Geshel | last post by:
I have been looking into Javascript libraries for the last week or two here, and there are certainly a lot of options out there. http://www.prototypejs.org/ http://mootools.net/ http://mochikit.com/ http://script.aculo.us/ And then there are even add-ons to some of these, such as:
0
8272
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8205
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8713
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8370
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8514
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7206
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4094
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2632
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1817
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.