On C/C++ undefined behaviours

Walter Bright newshound2 at digitalmars.com
Sat Aug 21 01:06:16 PDT 2010


SK wrote:
>> I've worked on a Java VM enough to know that won't be a problem.
> Why waste your batteries running deep and complex front-end optimizers
> that have nothing to do with the target platform?

Why, indeed. You can just interpret the D code.

>>> 3) The source may have sizable irrelevant content for a particular
>>> product instantiation, compile time conditionals, etc
>> You can run it through a comment stripper first.
> 
> Why stop there?  If you have to create some waypoint that isn't really
> the source and isn't the binary, why not finish off the platform
> independent lifting in the front end?
> 
> I am getting zero admission from you that there is any goodness to be
> found in the TIMI thing.  I don't understand that.  Do you really just
> hate the idea through and through?

I don't hate it, I'm just not sold on its advantages.


More information about the Digitalmars-d mailing list