Slower than Python
Walter Bright
newshound2 at digitalmars.com
Sat Mar 2 12:52:51 PST 2013
On 3/2/2013 12:08 PM, H. S. Teoh wrote:
> On Sat, Mar 02, 2013 at 12:02:08PM -0800, Walter Bright wrote:
>> On 3/2/2013 11:42 AM, Russel Winder wrote:
>>> On Sat, 2013-03-02 at 11:30 -0800, Walter Bright wrote:
>>>> On 3/2/2013 7:43 AM, Russel Winder wrote:
>>>>> For writing interpreters, RPython spanks C.
>>>>
>>>> What's RPython doing that makes it faster?
>>>
>>> Allowing PyPy to have a good JIT compiler.
>>
>> I don't understand. Does that JIT generate faster code than a C
>> compiler would generate?
>
> I don't know, but my wild guess is that a JIT optimizes the *right*
> hotspots based on real-time performance measurements, whereas a lot of C
> programmers are obsessed with optimizing what they *think* are the
> hotspots, but which really aren't.
I meant what the C *compiler* generates.
More information about the Digitalmars-d
mailing list