Is there any language that native-compiles faster than D?

Atila Neves atila.neves at gmail.com
Thu Aug 27 08:46:39 UTC 2020


On Wednesday, 26 August 2020 at 16:24:03 UTC, Steven 
Schveighoffer wrote:
> On 8/26/20 12:00 PM, James Lu wrote:
>> On Wednesday, 26 August 2020 at 14:45:48 UTC, Steven 
>> Schveighoffer wrote:
>>> On 8/25/20 9:13 PM, James Lu wrote:
>>>> V8 JavaScript compiles faster:

> Compiling an empty main function with dmd takes 0.128 seconds 
> on my system, but of course comparing my system to yours isn't 
> going to be useful.
>
> Compiling with -betterC an empty main takes 0.065 seconds, 
> which means about half the overhead is spent compiling D 
> runtime setup things?

Weird. On my machine both take the same amount of time: ~16ms.



More information about the Digitalmars-d mailing list