At 07:25 PM 5/18/2002 -0400, Dan Sugalski wrote:
>># Flag handling, or at least feature enabling, should probably be done
>># by core code. We should provide a set_feature() function
>>
>>Right now we have something like this:
>>
>>         Parrot_setflag(interpreter, PARROT_CGOTO_FLAG, NULL);
>>
>>I'm not sure how Parrot reacts to that if computed goto isn't available
>>on this platform, though.
>
>It should pitch a warning and then ignore the computed goto choice. It's 
>not a fatal error, after all.

I hold a different opinion, and that is, production release of Parrot should
choose the cores at config time, and make the fastest (non-JIT) core
the default, assuming it is stable.

I don't see a reason to even provide a flag PARROT_CGOTO_FLAG
and a runtime switch.

If computed goto is there, and it is the fastest core, it should be THE core,
the same goes for prederef if computed goto isn't available.

-Melvin

Reply via email to