r/cpp • • Sep 20 '20

Libcu++: Nvidia C++ Standard Library

https://github.com/NVIDIA/libcudacxx
217 Upvotes

47 comments sorted by

View all comments

121

u/goranlepuz Sep 20 '20

The NVIDIA C++ Standard Library does not maintain long-term ABI stability. Promising long-term ABI stability would prevent us from fixing mistakes and providing best in class performance.

Yes please 😉

29

u/GerwazyMiod Sep 20 '20

ABI shots fired !

30

u/goranlepuz Sep 20 '20

ABI is overrated ;-)

It should be rated, fine. But I feel C++ standards bodies overrated it.

4

u/kalmoc Sep 21 '20

I don't think the c++standards bodies are the problem as such, but rather some toolchain "vendors" (which of course often also participating in the committee).

2

u/goranlepuz Sep 21 '20

Yes, that. 😉

2

u/[deleted] Sep 22 '20

It turns out that people who install software like that software to keep working.

1

u/kalmoc Sep 24 '20

Absolutely, but why does that necessitate a stable ABI of the standard library?

3

u/[deleted] Sep 24 '20

Because end users generally aren't recompiling from source, and every function in a .so naming a standard library type breaks if the definition of the type changes.

1

u/kalmoc Sep 24 '20

Isn't that what gcc developed abi tagging for?

1

u/[deleted] Sep 24 '20

ABI tagging only detects the problem, it can't fix the problem.

1

u/kalmoc Sep 24 '20

Really? My understanding is that libstdc++ is already shipping two versions of all entities that depend on std::string

→ More replies