Potential of a compiler that creates the executable at once
Walter Bright
newshound2 at digitalmars.com
Sat Feb 12 06:52:21 UTC 2022
On 2/11/2022 4:34 AM, rempas wrote:
> That's nice to hear! However, does DMD generates object files directly
It generates object files directly. No "asm" step. The intermediate code is
converted directly to machine code.
> Do you think that there are any very bad places in DMD's backend? Has anyone in
> the team thought about re-writing the backend (or parts of it) from the beginning?
It has evolved over time, but the basic design has held up very well. The main
difficulty is the very complex nature of the x86 CPU, which leads to endless
special cases.
More information about the Digitalmars-d
mailing list