← Back to context

Comment by jcelerier

16 hours ago

> However, such an approach has previously not really worked for C++ with LLVM offload

... isn't Metal shading language just C++17 compiled with LLVM ? working on every Mac and iPhone in the world is not what I would call "not really worked". Likewise, SYCL works just fine.

bruh lol this is so wrong and so confident i don't want to even attempt to explain how wrong you are.

> just C++17 compiled with LLVM

i invite you to attempt to compile/run absolutely any C++17 codebase on your iphone's GPU lol!

  • For starters Metal Shading Language is based on C++14, so naturally any C++17 will fail.

  • I mean "any C++ codebase" doesn't make sense in general. I run C++23 code on ESP32, that doesn't mean I'm gonna build KDE or chrome for it, and that doesn't make it any less C++.