How does D’s ‘import’ work?

Cecil Ward cecil at cecilward.com
Tue Jun 20 15:13:12 UTC 2023


On Monday, 19 June 2023 at 16:24:03 UTC, rempas wrote:
> On Monday, 19 June 2023 at 12:48:26 UTC, Cecil Ward wrote:
>>
>> If I have sources to all the library routines, not libraries 
>> or .obj files. I am simply completely ignorant about the D 
>> tools including DUB, so off to do some reading. I’ve just been 
>> seeing how good LDC and GDC are, and the answer is extremely, 
>> especially LDC, which perhaps has a slight edge in code 
>> generation quality. I haven’t looked at AAarch64 code yet, 
>> only AMD64. Very impressed with all the work!
>
> Of course, DMD uses it's own custom backend so it's only fair 
> to not expect for it to have the same runtime performance and 
> optimizations as the other two compilers than use LLVM and GCC. 
> If you only use x86_64, DMD will be amazing for your debug 
> cycles!

I’ve never used DMD. I don’t support that it will run on Aarch64. 
I’m running ldc on an ARM M2 Mac OSX. Also on x86-64 VMs at 
Godbolt.org but I must get access to an x86-64 box myself.


More information about the Digitalmars-d-learn mailing list