How does Ruby compare to Python?? How good is DESIGN of Rubycompared to Python?
Paul Prescod
paul at prescod.net
Thu Feb 26 00:48:47 EST 2004
Joe Mason wrote:
>...
>
>
> I've always found the performance differences between functional and imperative
> languages fascinating (well, ever since I found out about it) - on the
> one hand, pure functional languages can prove facts about the code
> mathematically, so in theory the compiler can optimize much more away.
> But on the other hand, supporting all the extra function state they need
> is very costly.
What do you mean by "extra function state?" Are you talking about LAZY
functional languages?
> Of course, hybrid languages like Python and Ruby have the worst of both
> worlds - side effects everywhere AND extra function baggage to pass
> around.
I don't know what you mean by "extra function baggage" and I don't see
how (e.g.) Python has some and Java or C# dn't. Maybe Haskell (but maybe
not). I don't know what you mean about Python.
Paul Prescod
More information about the Python-list
mailing list