ARM first & default LDC

claptrap clap at trap.com
Thu Dec 17 17:37:12 UTC 2020


On Thursday, 17 December 2020 at 16:02:05 UTC, Guillaume Piolat 
wrote:
> On Thursday, 17 December 2020 at 10:02:56 UTC, claptrap wrote:
>>
>> And yet why does DMD suck at optimising code? Because a 
>> freedom to do something that nobody has the resources to do is 
>> next to useless.
>
> DMD builds fast, and is small, it has some value and it would 
> be more used if you could somehow rely on code generation. (for 
> example, raylib ships with a tinycc compiler for speed of 
> compile-run loop)

Oh yeah I agree, it's clear a lot of people value DMDs fast 
compile times. I remember using Delphi years and years ago, and 
it was like 1 second compile, every time. It was so fast it took 
no more time to recompile and let it go to the first error, than 
it did to locate it yourself. There's definite value in that.


> However I think an ARM backend may be just too much debt when 
> we don't have a reliable x86 backend in DMD. And I don't know 
> why it's the case, it has been a constant over years.
>
> (for info: the particular issue that irks me is 
> https://issues.dlang.org/show_bug.cgi?id=21474)
>
> I'd be really wary to release something built with DMD and 
> optimizations on.
> This is not _only_ about speed imho.

Yeah, thats not good.


More information about the Digitalmars-d mailing list