Build process D

How the process of creating (compiling and linking) source code in D differs from C / C ++, especially in relation to built-in functions, the D-module system (instead of headers), and building tools. How are pattern instances repeated in D?

+6
source share
1 answer

it is not so different, each module is compiled into its own obj file, which is then joined together, that IIRC is no different from the C / C ++ process

the main difference is that the import is symbolic and not the whole #include file, which eliminates the need for header files (although the option for .di header files exists for the closed-source API)

templates really should be included in files available for the compiler (for example, they should be in the header for C ++)

+2
source

All Articles