LDC 1.12.0-beta2 (based on LLVM 7)

kinke noone at nowhere.com
Sun Sep 30 13:05:19 UTC 2018


On Sunday, 30 September 2018 at 12:31:20 UTC, Dennis wrote:
> "LTO now basically working for Win64 too"
> That's great! Why the "basically"?

Just a precaution as it hasn't been tested extensively yet; 
Guillaume Piolat (p0nce) successfully tested it with his 
commercial codebase though, so it's looking good.

>> * New, Easy::jit-like interface for dynamic/JIT compilation.
>
> What are the applications of that? Is there a code sample I can 
> check out?

The linked PR contains some tests, but they aren't showcases. The 
dynamic compilation feature per se isn't new; its main 
application is probably for a bunch of hot key functions, 
compiling them at runtime to fully exploit the CPU's instruction 
set (and having the ability to treat some variables as const for 
these functions). You may want to contact Ivan Butygin 
(Hardcode84) for more infos, this feature is exclusively his 
baby. :)


More information about the Digitalmars-d-announce mailing list