• @Valmond
    link
    -310 hours ago

    Programming GPUs has always been very “C/C++”-like IMO.

      • @[email protected]
        link
        fedilink
        10
        edit-2
        6 hours ago

        I assume that they mean that OpenCL, which is a traditional GPGPU language, is a very restrictive subset of either C or C++ (both are options) plus some annotations.

        In fact, OpenCL toolchains already use the Clang frontend and the LLVM backend, so the experience of using and compiling them is very close to C++.

        The talk mentions all of this; it says that a benefit of using full C++ on the GPU over using OpenCL is that you don’t have to deal with all the annoying restrictions and annotations.