ARM first & default LDC

Jeeferson jeeferson.johnson at gmail.com
Sat Dec 19 21:04:21 UTC 2020


On Saturday, 19 December 2020 at 20:36:07 UTC, Jeeferson wrote:
> On Saturday, 19 December 2020 at 17:40:28 UTC, Timon Gehr wrote:
>> On 19.12.20 18:15, claptrap wrote:
>>> 
>>> 2. People could just add it to LLVM if they want i think. 
>>> Might even be easier to write a whole new backend from 
>>> scratch, i dont know. IE. Not having DMD doesnt preclude the 
>>> benefit that Walter claims DMD gives us.
>>> 
>>
>> Building LLVM from scratch takes multiple hours. Building DMD 
>> from scratch (including backend) takes _seconds_.
>
> Anyone that says LLVM takes multiple hours obviously hasn't 
> built it, or are using a 20 year old computer to build it.
>
> Once you build LLVM you don't build it again. Unless you are 
> modifying LLVM itself, which LDC only has one or two commits 
> that make changes, for Android for local thread storage. So if 
> you are developing a compiler it would still only take seconds.

To add onto that, you can also down it prebuilt, it also 
available on most Linux distros because it is so widely used and 
adopted. So you won't be building it yourself most of the time 
anyways.



More information about the Digitalmars-d mailing list