[cfe-dev] [LLVMdev] New libc++ LLVM Subproject

Howard Hinnant hhinnant at apple.com
Tue May 11 18:32:06 PDT 2010


On May 11, 2010, at 8:40 PM, Andrew Sutton wrote:

> > What's driving libc++?
> 
> The possibility of being a superior solution.
> 
> I thought "to support Apple applications" from the previous post was sufficient motivation :) Either way, I'm excited about a new library. Plus, it looks a little easier to read (from the tiny amount of code that I've looked at).
>  
> libc++:
> 
> 5 seconds
> 
> libstdc++:
> 
> 22 seconds
> 
> (smaller is better)
>  
> Is this libstdc++ with or without rvalue references?

This was compiled with g++-4.-2 -O3 (without rvalue references, which would have no effect on sorting ints anyway).

-Howard





More information about the cfe-dev mailing list