On Tuesday, 29 January 2013 at 16:42:49 UTC, Andrei Alexandrescu wrote:
On 1/29/13 11:05 AM, Thiez wrote:
On Tuesday, 29 January 2013 at 14:22:06 UTC, Don wrote:
The key phrase is *undefined behaviors*. Remember that C does not require twos-complement arithmetic. D does, so it doesn't have those
problems in the first place.

It must have been a dozen times by now that you have posted the same misinformation over and over again, with links to papers you have
apparently not read.

So D has no undefined integer behavior at all? Doesn't that waste many
opportunities for optimization?

It would be quite problematic for a non-twos-complement architecture to emulate D.


Is that a practical limitation ? All widespread arch I know assembly for are 2 complement, and it seems like something settled now in the field. Or am I unaware of some important stuff ?

Reply via email to