2016-08-19 11:11 GMT+08:00 C Bergström <cbergst...@pathscale.com>: > I think you're getting a bit confused > > libsupc++ is the default now, from GNU > > libcxxabi is the bloated runtime from Apple > > libcxxrt is the faster c++ runtime, PathScale+David Chisnall, which > PathScale and FreeBSD use by default. We don't need a version number > because it's pretty much rock solid stable for a while. > I'd encourage you to consider libcxxrt for at least the code size and > performance reasons. Build it and you'll see. Locally my unoptimized > libcxxrt.so is like 88K. How much is your libcxxabi (static and > shared) > > 88K /opt/enzo-2016-06-26/lib/6.0.983/x8664/64/libcxxrt.so > 140K /opt/enzo-2016-06-26/lib/6.0.983/x8664/64/libcxxrt.a > // This seems larger than I remember and I need to check why. > > https://github.com/pathscale/libcxxrt
Currently libcxxrt is the default ABI lib for libc++ in Gentoo. I mean to replace it with libc++abi in that context. I'm interested in benchmarking to reveal the claimed difference in performance. Perhaps I can build the same program against libcxxrt and libc++abi respectively and see how it behaves. Do you have some hints on what kind of programs I should test? Thanks, Lei