Labels as values and threaded-code interpretation

Alex Rønne Petersen alex at lycus.org
Sun Jun 2 10:54:03 PDT 2013


On 02-06-2013 19:44, Walter Bright wrote:
> On 6/2/2013 12:49 AM, Brad Roberts wrote:
>> Many if not most of those non-unix platforms use gcc, which is
>> included in the
>> set of compilers that does support it.  The point is, which you didn't
>> change,
>> is that's it's a defacto standard even if not technically in the c or c++
>> language specs.
>
> The curious question is why it never gets into the newer C and C++
> Standards.
>

That one's easy: It makes 'too many' assumptions about the capabilities 
of the target machine. Sort of like assuming signed integers overflow.

In practice, though, any relevant target can support computed gotos.

-- 
Alex Rønne Petersen
alex at alexrp.com / alex at lycus.org
http://alexrp.com / http://lycus.org


More information about the Digitalmars-d mailing list