Re: How does Ruby compare to Python?? How good is DESIGNof Rubycompared to Python?
Joe Mason wrote:
[color=blue]
>...
>
>
> 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.[/color]
What do you mean by "extra function state?" Are you talking about LAZY
functional languages?
[color=blue]
> Of course, hybrid languages like Python and Ruby have the worst of both
> worlds - side effects everywhere AND extra function baggage to pass
> around.[/color]
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
Joe Mason wrote:
[color=blue]
>...
>
>
> 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.[/color]
What do you mean by "extra function state?" Are you talking about LAZY
functional languages?
[color=blue]
> Of course, hybrid languages like Python and Ruby have the worst of both
> worlds - side effects everywhere AND extra function baggage to pass
> around.[/color]
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
Comment