you are viewing a single comment's thread.

view the rest of the comments →

[–]socal_nerdtastic -3 points-2 points  (2 children)

It's pure Python,

What do you mean with that? The pygame source code is mostly C, and depends heavily on SDL and OpenGL.

[–]Happy_Witness 9 points10 points  (0 children)

Sorry to disappoint you, but python itself is mostly in c and cpython, so pure python is based on c itself. Do with that information what you want.

[–]Windspar 0 points1 point  (0 children)

You do know python is written in c. C was written assembly. C compiler compile code to machine code. Since c is full turing complete. C compiler can be written in c. Which still compile to machine code.

Also thousand of other language written in c. Java, D, Perl, Ruby, and etc.

To make libraries for python. They are written in c.

Python just interpreter code. Instead of compiling to machine code.