vectorization of a simple loop -- not in DMD?

Siarhei Siamashka siarhei.siamashka at gmail.com
Tue Jul 12 06:00:50 UTC 2022


On Monday, 11 July 2022 at 22:16:05 UTC, ryuukk_ wrote:
> I use D because DMD compiles my huge project in ~1 second (full 
> clean rebuild)
>
> It is a competitive advantage that many languages doesn't have

The other programming languages typically use an interpreter for 
quick iterations and rapid development. For example, Python 
programming language has CPython interpreter, PyPy Just-in-Time 
compiler and Cython optimizing static compiler (not perfect right 
now, but shows a lot of promise).

D still has a certain advantage over interpreters, because DMD 
generated code is typically only up to twice slower than LDC 
generated code. If the x86 architecture stops being dominant in 
the future and gets displaced by ARM or RISC-V, then this may 
become a problem for DMD. But we'll cross that bridge when we get 
there.



More information about the Digitalmars-d-learn mailing list