What other languages use the same data model as Python?

harrismh777 harrismh777 at charter.net
Wed May 4 15:22:38 EDT 2011


Hans Georg Schaathun wrote:
> It only works by assuming
> knowledge of C, which is language which has proved unsuitable for
> complex and abstract data modelling.

    That statement is untrue; evidenced by the very fact the CPython's 
complex and abstract data modeling has been very suitably handled by C.
    You cannot possibly mean what you have asserted... I realize there 
must be a contextual problem.  I have been handling complex data 
abstractions with C for more than 20 years... its quite well suited to 
the task... although, I am able to do my research today faster and with 
less lines of code in CPython.  That does not in any way impugn C..;. 
quite the contrary, given enough time,  C is better suited for modeling 
on a von Neumann processor, period.

    Here is the thing that everyone forgets... all we have to work with 
is a von Neumann processor. (same as EDVAC, ENIAC, the VIC20, etc). 
Assembler is still the best language on that processor.  'C'  is still 
the best high-level language on that processor.  CPython is implemented 
in C for a reason:  gcc and the von Neumann processor make it a no-brainer.

    Its silly to claim that one high-level language or another is better 
suited to complex data abstraction... don't go there.


> Digging down into C should be unnecessary to explain Python.


    huh?   You have to be kidding. Why do you suppose we want it to be 
open-sourced?   Use the force Luke, read the source.   If you really 
want to know how Python is working you *must* dig down into the C code 
which implements it.  The folks who document Python should be able to 
tell us enough to know how to use the language, but to really 'know' you 
need the implementation source.



kind regards,
m harris






More information about the Python-list mailing list