Is python very slow compared to C

bonono at gmail.com bonono at gmail.com
Sun Feb 12 10:43:26 EST 2006


Steven D'Aprano wrote:
> Lua appears to be *too* lightweight, without even classes or inheritance,
> and a single data type where Python has dicts, sets, tuples and lists.
>
I believe Lua does have features to implement class/inheritance.

As for the distinction of dict/set/tuple/list or one single table data
type(which can be used as   either dict or list and implemented as set,
not sure about tuple), it is up to debate.

Though I have mentioned in another post that the batteries in Python is
extremely appealing to solve real world problems as no matter how good
a language can be, re-implementing something from scratch is always a
pain(and error prone).




More information about the Python-list mailing list