News for hackers. Stuff that matters.
Re:I love coding in C by gpderetta on Thursday December 26, 2019 @02:25PM (#21886020)
And yet the most common language used for GPU programming is a C++ dialect.
Re:I love coding in C by pjmlp on Thursday December 26, 2019 @04:33PM (#21886987)
And it took 10 years for NVidia to make it match the ISO C++ memory model introduced in C++11, as per NVidia talk at CppCon 2019.
Re:I love coding in C by gpderetta on Friday December 27, 2019 @07:05AM (#21890851)
And the C++11 memory model was added so that the language would map to the execution model of the underlying hardware, not viceversa, refuting the parent.
Re:I love coding in C by pjmlp on Friday December 27, 2019 @07:08AM (#21890866)
Not really, C++11 initally got its memory model from .NET and Java memory models, two mostly hardware agnostic stacks, and then expanded on top of them.