Live data from Hacker News

Libcu++: Nvidia C++ Standard Library

github.com

1–10 of 139 posts

Re: Libcu++: Nvidia C++ Standard Library

#3
post #2

It really is a tiny subset of the C++ standard library, but I'm happy to see they're continuing to expand it: https://nvidia.github.io/libcudacxx/api.html

Yeah, really tiny... At first I thought 'wow this is a game changer', but then I looked at your link and thought 'what's the point?'. Can someone explain what real problems you can solve with just the headers in the link above?

Re: Libcu++: Nvidia C++ Standard Library

#6
post #3
post #2

It really is a tiny subset of the C++ standard library, but I'm happy to see they're continuing to expand it: https://nvidia.github.io/libcudacxx/api.html

Yeah, really tiny... At first I thought 'wow this is a game changer', but then I looked at your link and thought 'what's the point?'. Can someone explain what real problems you can solve with just the headers in the link above?

It runs on the GPU?

Re: Libcu++: Nvidia C++ Standard Library

#8
post #3
post #2

It really is a tiny subset of the C++ standard library, but I'm happy to see they're continuing to expand it: https://nvidia.github.io/libcudacxx/api.html

Yeah, really tiny... At first I thought 'wow this is a game changer', but then I looked at your link and thought 'what's the point?'. Can someone explain what real problems you can solve with just the headers in the link above?

I guess that the point is that when writing CUDA code (which looks like C++), you can use these libraries which are homogenous with CPU code.

Looking at the functions, chrono/barrier etc require CPU level abstractions, so using the STL versions (which are for the CPU) aren't going to work really.

Re: Libcu++: Nvidia C++ Standard Library

#9
post #4

A pathetic attempt to lock developers into their hardware.

They seem to be pushing the barrier on innovation on GPU compute. It seems a little unfair to call that pathetic, whatever strategic reasons they have to find OpenCL unappetising (which simply enables their sole competitor in truth.)

Their decision making seems rational, of course it's not ideal if you're consumer. We would like the ability to bid off NVidia with AMD Radeon.

Convergence to a standard has to be driven by the market, but it's impossible to drive NVidia there because they are the dominant player and it is 100% not in their interests.

It doesn't mean they're a bad company. They are rational actors.

Post reply on HN