On Fri, Apr 27, 2012 at 12:47 PM, Steven D'Aprano
<steve+comp.lang.pyt...@pearwood.info> wrote:
> On Thu, 26 Apr 2012 17:16:10 -0700, Adam Skutt wrote:
>
>> On Apr 26, 7:33 pm, Steven D'Aprano <steve
>> +comp.lang.pyt...@pearwood.info> wrote:
>>> On Thu, 26 Apr 2012 12:22:55 -0700, Adam Skutt wrote:
>>> > I often wonder what the world would be like if Python, C#, and Java
>>> > embraced value types more, and had better support for pure functions.
>>>
>>> They would be slower, require more memory,
>>
>> Funny, Haskell frequently beats C in both categories.
>
> I'm seeing code generated by the Haskell GHC compiler being 2-4 times
> slower than code from the C gcc compiler, and on average using 2-3 times
> as much memory (and as much as 7 times).

Also, I don't see a Python interpreter written in Haskell that's
outperforming CPython.

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to