News for hackers. Stuff that matters.
Re:Atria: A toolkit for modern C++ development from Ableton by to3m on Tuesday August 18, 2015 @07:03PM (#10082781)
I'm not the same person, but I don't use boost, and I avoid projects that depend on it, because every time I've used boost in the past it's always done dreadful things to the build time.

Anything that uses boost always seems to compile at a glacial pace and then takes aeons to link. It's also not much fun in the debugger, should you happen upon it in a call stack or see one of its types in the watch window - but build times are the more serious problem. C++ projects always seem to suffer from appalling iteration times, but boost just seems to make things worse...

Re:Atria: A toolkit for modern C++ development from Ableton by tacos on Tuesday August 18, 2015 @09:15PM (#10083191)
You have to be careful with what you pull in. But with precompiled headers I'm building a suite of 25 command line apps, all dependent on boost, in 22 seconds on a 2012 MacBook Air. gcc on Windows is similar.

Microsoft doesn't even let you share precompiled headers across projects, but it's still building in under 20 seconds.

There's a LOT of really idiotic C++ build scripts out there. I really don't know what some people are thinking.

Re:Atria: A toolkit for modern C++ development from Ableton by enqk on Wednesday August 19, 2015 @03:40AM (#10084127)
20 seconds is not particularly impressive..
Re:Atria: A toolkit for modern C++ development from Ableton by tacos on Wednesday August 19, 2015 @04:51AM (#10084331)
Neither is the hardware. The point is that I'm doing a clean build of an entire app in under a second. Which means the "boost tax" is also under a second.

You can certainly make a mess of things if you're not careful. Most people seem to.

Re:Atria: A toolkit for modern C++ development from Ableton by SamReidHughes on Wednesday August 19, 2015 @01:23AM (#10083806)
How complicated are these command line apps?
Re:Atria: A toolkit for modern C++ development from Ableton by tacos on Wednesday August 19, 2015 @05:01AM (#10084364)
400-600k with symbols stripped.

I'm using boost/any, boost/iostreams/stream & tee, and boost/property_tree/json_parser. So obviously I'm not going nuts with things. But wanted to provide the data point.