Boost logo

Boost :

Subject: Re: [boost] boost.foreach overhead
From: Cory Nelson (phrosty_at_[hidden])
Date: 2010-10-17 21:30:04


On Sun, Oct 17, 2010 at 4:23 PM, Matt Calabrese <rivorus_at_[hidden]> wrote:
> I'd like to here more about this since it seems that many video game
> studios, not just id, are like this. Though, to be hones, I'm surprised John
> Carmack even uses boost at all. I always heard he was more like Linus...

As a friend at Epic once told me:

1) Fear of perf hits in stdlib abstractions, exceptions, and operators
not always directly mapping to single obvious instructions.

2) Multiple template instantiations for one algorithm are perceived as bloat.

3) Memory usage of stdlib collections doesn't fit their requirements.

4) Not all C++ devs are competent with the more advanced features, and
are restricted to the simpler ones so that everyone can maintain
everything.

It seems like, for the most part, (1) and (2) aren't issues anymore.
(3) is handled pretty well by Intrusive. (4) is the only big concern
left, and I don't know how that could be solved.

-- 
Cory Nelson
http://int64.org

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk