[cfe-dev] clang success with Computational Crystallography Toolbox
dgregor at apple.com
Sun Aug 8 02:30:12 CDT 2010
On Aug 8, 2010, at 6:05 AM, Luc Bourhis wrote:
> The Computational Crystallography Toolbox (cctbx) is a large scientific library aimed at modelling X-ray and neutron diffraction by crystals and analysing data of such diffraction experiments. From the point of view of clang, it has 2 key characteristics:
> (a) heavy use of Boost.Python: we use nearly all Boost.Python features, even the undocumented custom conversions; as many of you would know, Boost.Python wildly makes use of C++ templates, which makes our code a difficult benchmark for a C++ compiler;
> (b) many an arcane numerical algorithms that bogus optimisers easily miscompile: we had plenty of bad experiences with various versions of gcc and Visual Studio e.g.
> Since it was announced that clang compiled the Boost library, I have actively been trying to compile the cctbx. This resulted in 6 bugs being reported, all of them being squashed in due course. Tonight, the whole library compiled and the comprehensive test suite passed
That's great news!
> except for what seems to reduce to one single bad code generation.
More information about the cfe-dev