473,854 Members | 1,443 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

boost - who hasn't heard of it, and why?

At the risk of raising the OT ire of some here, I'd like to know what might
be done to raise the awareness of the boost libraries.

I've found boost and it's libraries invaluable in my work for ~5 years now.
The first two postings in this group this morning are addressed almost
trivially by using libraries from www.boost.org. IMO, the functionality in
boost increases the usability of C++ at least as much as the standard
library does.

My company recently posted a job notice, where I specifically asked for
experience with boost and STL as a way of filtering candidates that fully
utilize C++, rather than 'C' programmers in 'C++' clothing. While only a few
candidates listed STL (even though it was the 2nd required qualification
listed), only one listed familiarity with boost. Unfortunately, that one was
living in western Canada and we're in the eastern US with no budget for
relocation.

Comments anyone.

Jeff Flinn
Applied Dynamics, International
Jul 23 '05 #1
16 2620
Jeff Flinn wrote:
At the risk of raising the OT ire of some here, I'd like to know what might
be done to raise the awareness of the boost libraries.
Just raise it. Talk about it. Otherwise, your post looks too much like
a camouflaged job advert. Try to avoid it. Had you not posted the
location of the job and the name of the company, you'd be staying more on
topic. IMNSHO.
[...]

Jul 23 '05 #2

"Jeff Flinn" <NO****@nowhere .com> schrieb im Newsbeitrag
news:d4******** **@bluegill.adi .com...
At the risk of raising the OT ire of some here, I'd like to know
what might be done to raise the awareness of the boost libraries.

I've found boost and it's libraries invaluable in my work for ~5
years now. The first two postings in this group this morning are
addressed almost trivially by using libraries from www.boost.org.
IMO, the functionality in boost increases the usability of C++ at
least as much as the standard library does.

My company recently posted a job notice, where I specifically asked
for experience with boost and STL as a way of filtering candidates
that fully utilize C++, rather than 'C' programmers in 'C++'
clothing. While only a few candidates listed STL (even though it was
the 2nd required qualification listed), only one listed familiarity
with boost. Unfortunately, that one was living in western Canada and
we're in the eastern US with no budget for relocation.

Comments anyone.

Jeff Flinn
Applied Dynamics, International


I've used STL for a long time now, but only used spirit from boost.
Because spirit didn't succeed with older compilers, I didn't want to
risk platform independency when writing code. Maybe I was a bit too
lazy to read about the boost specs as well, because I don't see what
part of boost I might be missing. What exaclty is to _valuable_ about
boost? What for would I need auto_ptr or things like that?

Just my .02$

-Gernot

Jul 23 '05 #3
Victor Bazarov wrote:
Jeff Flinn wrote:
At the risk of raising the OT ire of some here, I'd like to know
what might be done to raise the awareness of the boost libraries.


Just raise it. Talk about it. Otherwise, your post looks too much
like a camouflaged job advert. Try to avoid it. Had you not posted
the location of the job and the name of the company, you'd be staying
more on topic. IMNSHO.


Your right, sorry. That certainly was not my intention. My thought was that
I would avoid the "then why didn't you hire that guy" type responses. And
that I'm with a real company. For the record we've found suitable
candidates(albe it w/out boost experience) and are not in the market for
others.

Jeff Flinn
Jul 23 '05 #4
Jeff Flinn wrote:
My company recently posted a job notice, where I specifically asked for
experience with boost and STL as a way of filtering candidates that fully
utilize C++, rather than 'C' programmers in 'C++' clothing. While only a few candidates listed STL (even though it was the 2nd required qualification
listed), only one listed familiarity with boost. Unfortunately, that one was living in western Canada and we're in the eastern US with no budget for
relocation.

Comments anyone.


I ain't applying for Applied Dynamics, but I will (honestly) add Boost to my
resume immediately. Thanks for pointing this out!

My most recent gig with C++, High Moon Studios's Darkwatch videogame, used
Boost adroitly.

But I used Ruby ;-)

--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand
Jul 23 '05 #5
Jeff Flinn wrote:
At the risk of raising the OT ire of some here, I'd like to know what might
be done to raise the awareness of the boost libraries.

I've found boost and it's libraries invaluable in my work for ~5 years now.
The first two postings in this group this morning are addressed almost
trivially by using libraries from www.boost.org. IMO, the functionality in
boost increases the usability of C++ at least as much as the standard
library does.

My company recently posted a job notice, where I specifically asked for
experience with boost and STL as a way of filtering candidates that fully
utilize C++, rather than 'C' programmers in 'C++' clothing. While only a few
candidates listed STL (even though it was the 2nd required qualification
listed), only one listed familiarity with boost. Unfortunately, that one was
living in western Canada and we're in the eastern US with no budget for
relocation.

Comments anyone.

Jeff Flinn
Applied Dynamics, International


Couldn't agree more. My current (hobby) project utilizes
boost::filesyst em, boost::lambda, boost::algorith m, and will soon be
also using boost::program_ options and maybe boost::shared_p tr if I
should stumble across the need of dynamic memory allocation.

I found boost extremely rewarding in terms of productivity, because it
provides clean and extremely well formed solutions for day-to-day
problems. It should really get more attention.

And I'm not even a professional developer, just another computer science
student enjoying C++ programming in his spare time.

--
Matthias Kaeppler
Jul 23 '05 #6
Gernot Frisch wrote:
"Jeff Flinn" <NO****@nowhere .com> schrieb im Newsbeitrag
news:d4******** **@bluegill.adi .com...

I've found boost and it's libraries invaluable in my work for ~5
years now. The first two postings in this group this morning are
addressed almost trivially by using libraries from www.boost.org.
IMO, the functionality in boost increases the usability of C++ at
least as much as the standard library does.
I've used STL for a long time now, but only used spirit from boost.
Because spirit didn't succeed with older compilers, I didn't want to


VC6 is soon to be 3 versions out of date.
risk platform independency when writing code. Maybe I was a bit too
lazy to read about the boost specs as well, because I don't see what
part of boost I might be missing.
What exactly is so _valuable_ about boost?
By using boost libraries I'm able to focus on application features at a
higer level with less source code written/maintained by me. Some of the more
often used libraries in my applications include:

A simple example is the boost::filesyst em library. I can now deal with
path's explicitly without cluttering the rest of my code with tokenizing and
verification code. I can then explicitly say that a data member is a path,
rather than a just generalized string. We can also replace/avoid the spawing
..bat files(resplenda nt with goto's) with simpler code for doing file
manipulations.

boost bind/function/lambda all make the STL algorithms that take predicates
or function objects worth using. seeing std::transform, std::find is self
explanatory when reading code (from others and increasingly from myself from
years earlier) then just seeing for loops. Additionally, I was able to use
boost bind/function to wrap non-thread-safe legacy C dll's with a task
queueing system within a few days. This eliminated numerous difficult to
reproduce bugs that our customers were seeing in the field with out GUI.

The boost crc library allows me to efficeintly determine if a document
changed indicator needs to be displayed in a graphical user interface, or to
prompt the user if they need to save a document before closing it.

dynamic_bitset simplifies bit flag manipulation for flags whose lengths vary
at runtime.

iterator library allows me to reuse both std algorithms and custom
algorithms with non stl containers. I've been able to succinctly/correctly
wrap many MS MFC conceptual containers, such as document views, filedialog
file selection lists, ... Use the same algorithm on a vectors or pointers or
objects, or maps by using transform and indirect iterators.

boost preprocessor libary simplified maintenance by replacing copied code
with macros that generate multiple function overloads with 1 to N arguments.

program_options helps to quickly create utility programs that handle
argument validation and dispatch.

regex supports regular expression processing for user input validation.
While there are other regex libraries, it's nice that the boost libraries
have a consistent feel. Once you use a few the others are even easier to
utilize.

serialization is used to save program state between closing and opening
applications, to supporting GUI cut/paste drag/drop operations.

signals - provides the publisher/subscriber framework at level of
granularity to support our app's multiple tree view interface.

smart_ptrs - see below

static_assert traps programming errors at compile time.

spirit - embed parsers within C++ source code. Replaces manual dissection of
strings with consistent parsing operations for large/small simple/complex
grammars.

string_algo has finally allowed me to drop use of proprietary string
classes. std::string did not easily support sub string replacement, ...

tokenizer - presents tokens with an iterator interface that allowed use with
standard algorithms.

utility/noncopyable simultaneously documents and disables copy/assignment
for classes where such operations are not desired.

....

What for would I need auto_ptr or things like that?


boost shared_ptr, scoped_ptr, weak_ptr, have all significantly increased the
reliablity of our products since they were used to replace much of the
manual memory management that previously caused problems.

Jeff Flinn
Jul 23 '05 #7

"Jeff Flinn" <NO****@nowhere .com> wrote in message
news:d4******** **@bluegill.adi .com...
....

All that's very nice, but why are you trying to sell us on the virtues of
using the boost libraries? Are you getting royalties? :-) Anyway, I think
we're veering off the topic of the C++ language here...

-Howard

Jul 23 '05 #8

Jeff Flinn wrote:
At the risk of raising the OT ire of some here, I'd like to know what might be done to raise the awareness of the boost libraries.
You actually feel Boost doesn't get enough of a well, "boost" in this
newsgroup? That's not my experience.
I've found boost and it's libraries invaluable in my work for ~5 years now. The first two postings in this group this morning are addressed almost trivially by using libraries from www.boost.org. IMO, the functionality in boost increases the usability of C++ at least as much as the standard library does.


However, the standard library is standard. Boost isn't, although
elements of it are being considered for inclusion into the standard. It
is a third-party library and should technically be off-topic here, but
that's not the consensus of majority of the newsgroup.

Some of us who work on projects with approved toolsets can't just use
any old library they want. For us, this includes Boost, although our
tools group is looking at it as I recall from the last user's meeting.

Well, that's the end of my standardized grumble that I feel moved to
spew every now and then.

Brian

Jul 23 '05 #9
On Thu, 28 Apr 2005 16:33:06 GMT, "Howard" <al*****@hotmai l.com>
wrote:

"Jeff Flinn" <NO****@nowhere .com> wrote in message
news:d4******* ***@bluegill.ad i.com...
...

All that's very nice, but why are you trying to sell us on the virtues of
using the boost libraries? Are you getting royalties? :-) Anyway, I think
we're veering off the topic of the C++ language here...

-Howard


Howard,

Similar things have also been said about C and C++ as C++ came into
its own.

IMO it isn't veering OT when you compare native C++ to boost libraries
for two reasons.

1) the comparison itself directly concerns what C++ can do on its own
and why perhaps newer, innovative libraries may increase productivity
without a significant hit to fundamentals such as cross platform
compatibility and standardization .

2) specifically regarding boost, if I am not mistaken, the library is
being considered for addition to C++ anyway.

So, you can point out in arrogance that this individual may or may not
be getting royalties, but the fact remains. Boost is receiving
consideration and is growing in popularity.

Charles
Jul 23 '05 #10

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

Similar topics

18
3175
by: perseus | last post by:
It is really crazy! I need to use the Boost filesystem for the manipulation of directories, and I have no idea how to install this filesystem on my IBM-compatible machine. Does anyone up here know how to do this? Thanks a million in advance! perseus
9
2257
by: BekTek | last post by:
How do you think? and why?
4
2524
by: Steven T. Hatton | last post by:
I'm trying to create an baseclass that will serve as a parent for reference counted objects handled by boost::intrusive_ptr<>. The documentation didn't provide much in the way of describing what the functions intrusive_ptr_add_ref and intrusive_ptr_release should do, nor even what their signatures should be. There is one comment that has me a bit unsure about whether my approach is a good one:"On compilers that support argument-dependent...
17
1905
by: Howard Gardner | last post by:
/* If I am using boost, then how should I write this program? As it sits, this program is using SFINAE to determine whether or not a type supports particular syntax. I suspect that there is functionality in boost to do this. I have found mpl::has_xxx, which I suspect of being part of the solution. I've also found type_traits::has_nothrow_constructor
4
2157
by: Hoop | last post by:
Hi, I have been working in getting Boost.Python running on my PC, seems to work now. I have what I believe is somewhat of basic question here. I am starting on an application that will developed in VS2005, probably using C++/CLI. I want to be able to exchange data in between Python and C++. The user when running the C++ app will be able to call a python script, set some values, that will then be communicated to running application, it
9
2886
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
7
2698
by: Henrique A. Menarin | last post by:
I want to create a function _and so that I could write vector<boolasserts; //... bool b = _and(asserts); and it "anded" all the elements in the vector. I implemented it like this:
8
6216
by: Matt England | last post by:
My team currently using Boost Threads, but we are considering switching to ZThreads. (We seek cross-platform, C++ multithreading capabilities in an external library.) ZThread(s): http://zthread.sourceforge.net/ http://www.inf.uni-konstanz.de/dbis/members/vinnik/zsim/doc/ Can anyone share their ZThreads experience, either good, bad, or
259
7171
by: user923005 | last post by:
It would be really nice if C could adopt a really nice algorithms library like C++'s STL + BOOST. The recent "reverse the words in this sentence" problem posted made me think about it. It's like 5 lines to do it in C++ because of all the nifty algorithms that come with the language (I think BOOST is going to get bolted on to the C++ language like STL did). It's a lot more work in C than C++. Why doesn't C have stacks,
0
9751
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
11024
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
10756
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
9513
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...
1
7914
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7081
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4560
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
2
4159
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3186
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.