python notation in new NVIDIA architecture

Bart Ogryczak B.Ogryczak at gmail.com
Mon Feb 26 12:16:44 EST 2007


On Feb 26, 2:03 pm, "Daniel Nogradi" <nogr... at gmail.com> wrote:
> Something funny:
>
> The new programming model of NVIDIA GPU's is called CUDA and I've
> noticed that they use the same __special__ notation for certain things
> as does python. For instance their modified C language has identifiers
> such as __device__, __global__, __shared__, etc. Is it a coincidence?
> Probably it is. :)

It's no coincidence. __* and __*__ have been used in C long before
Python. And Python (as almost any modern language) takes a lot of
syntax from C/C++.









More information about the Python-list mailing list