473,289 Members | 1,923 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,289 software developers and data experts.

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 2557
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(albeit 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::filesystem, boost::lambda, boost::algorithm, and will soon be
also using boost::program_options and maybe boost::shared_ptr 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::filesystem 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(resplendant 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*****@hotmail.com>
wrote:

"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


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
On Thu, 28 Apr 2005 12:47:33 -0400, ChasW <> wrote:
2) specifically regarding boost, if I am not mistaken, the library is
being considered for addition to C++ anyway.


(or at least parts of it)

Jul 23 '05 #11
erm, that's not entirely true. For clarification, only one or two of
our tools use boost, and we certainly don't use it (or the STL) for the
actual game itself.

Jul 23 '05 #12

charles.nichol...@gmail.com wrote:
erm, that's not entirely true. For clarification, only one or two of
our tools use boost, and we certainly don't use it (or the STL) for the actual game itself.

When posting from Google, don't use the Reply at the bottom of the
message. Instead, click "show options" and use the Reply shown in the
expanded headers. This will give a reply with quotes and attributions
and all that good proper usenet stuff.


Brian

Jul 23 '05 #13
ch***************@gmail.com wrote:
erm, that's not entirely true. For clarification, only one or two of
our tools use boost, and we certainly don't use it (or the STL) for
the actual game itself.


What are you denying here? That you use Boost "adroitly"?

Jonathan
Jul 23 '05 #14
"Jeff Flinn" <NO****@nowhere.com> scribbled on the stall wall:
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.


I guess I'm left to be the voice of dissent here. Boost sucks! I'd be
very pisst if the iso standards folks ever considered adding the boost
libraries to the c++ standard. my gripes are based in several reasons

1) the boost project REQUIRING jam to build the libraries is just plain
wrong!

2) the documentation for boost is innadequate and I've noticed on more
than one occasion it is incorrect...example...the messerne twister
rng is broken and not properly documented as to what range of numbers
are returned. previous versions returned 0..1 and newer viersions
return 0..MAXINT but only determined this by experimentation and needless
debugging of an already working program...the gist of this is that
a doxygen run of a c++ header file IS NOT ADEQUATE DOCUMENTATION!

I'm really NOT a fan of boost...STL is all important and I'll agree that
a real OO C++ programmer should be fluent in STL but I think your statement
about using boost to filter out (real c++ programmers) is a bit off-base.
and I've been looking for SO work since 2002 when my six figure UNIX
consulting salary went away and companies started hiring VB script
kiddies at $10/hr. I'm not greedy but won't work for a poverty wage
either.

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Jul 23 '05 #15
Wiseguy wrote:
I guess I'm left to be the voice of dissent here. Boost sucks! I'd be
very pisst if the iso standards folks ever considered adding the boost
libraries to the c++ standard. my gripes are based in several reasons

1) the boost project REQUIRING jam to build the libraries is just plain
wrong!
So what? If they are included into the Standard they will come bundled with
the compiler, and you can just use them. No need for building them.

Remember that the Standard defines only the Interface, the Implementation is
up to the compiler vendors. (Even if quite a few will use the Boost
implemntation)
2) the documentation for boost is innadequate
I've seen much worse! Besides Documentation Quality will be better once it
is included in the standard, since more People will write about it.
I'm really NOT a fan of boost...STL is all important and I'll agree that
a real OO C++ programmer should be fluent in STL but I think your
statement about using boost to filter out (real c++ programmers) is a bit
off-base.


One should have at least heard about it, because they have solutions to many
common C++ Problems. If you can solve the Problems in a better way, fine.

Besides not all of Boost will get into the standard, smart pointers and
boost::filesystem are relativly certain, Threads will probably be
revisited, and then added, from what I have heard.

regards

Fabio

Jul 23 '05 #16

Jonathan Turkanis wrote:
ch***************@gmail.com wrote:
erm, that's not entirely true. For clarification, only one or two of our tools use boost, and we certainly don't use it (or the STL) for
the actual game itself.


What are you denying here? That you use Boost "adroitly"?


Heh, point taken. I suppose that what little boost we use, we use
'adroitly'. I don't think its presence in our codebase is large enough
to support the claim that-

"High Moon Studios's Darkwatch videogame, used Boost adroitly."

when the game runtime and 95% of our asset pipeline and tool chain
didn't use it at all. One last-minute tool was developed using boost.
I guess my issue is more with the verb "used" than the adverb
"adroitly".

chas

Jul 23 '05 #17

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

Similar topics

18
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...
9
by: BekTek | last post by:
How do you think? and why?
4
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...
17
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...
4
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...
9
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...
7
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
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): ...
259
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...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.