New LDC feature: dynamic compilation

Ivan Butygin ivan.butygin at gmail.com
Mon Nov 13 20:14:08 UTC 2017


On Monday, 13 November 2017 at 19:58:29 UTC, Michael V. Franklin 
wrote:
> Interesting feature.  So is the executable linked to an 
> installed instance of LDC/LLVM to make this happen, or is there 
> some limited compiler embedded in the executable or Druntime?  
> More details about the implementation please.
>
> Mike

Jit runtime (ldc-jit.dll/so) uses llvm optimizer and backend.

Forgot to mention, user need to pass `-enable-dynamic-compile` 
compiler switch to enable this feature (and jit runtime will only 
be linked in this case).


More information about the Digitalmars-d-announce mailing list