DIP 1031--Deprecate Brace-Style Struct Initializers--Community Review Round 1 Discussion

jxel jxel at gmall.com
Sun Feb 16 01:23:13 UTC 2020


On Saturday, 15 February 2020 at 23:59:39 UTC, Walter Bright 
wrote:
> On 2/15/2020 9:58 AM, jxel wrote:
>> how poor quality the backend code is.
>
> Baloney.

No thank you, I don't eat baloney.

> It's written in an older style, sure, but it's remarkably bug 
> free considering how complex it is. The complexity is a result 
> of the fiendishly complex x86 instructions set.

The x86 instruction set is complex, but it allows you to generate 
simpler assembly. The backend will never support ARM because its 
a simpler instruction set and architecture that leans heavily on 
the codegen/optimizer producing correct assembly.

> The proof of its quality is it has successfully been extended 
> from a purely 16 bit generator to 32 and extended again to 64 
> bit, and has been extended to support multiple ABIs and object 
> file formats.

What you've just described is a symptom that leads to poor 
quality code. Some sort of Frankenstein that has to be mcgyvered 
into doing something it originally wasn't designed to do.






More information about the Digitalmars-d mailing list