Conversation
Notices
-
> Main part of this feature is a new UDA `@dynamicCompile`.
> You can mark with this attribute any function (including class methods and lambdas) and compilation and optimization of this function will be deferred to runtime.
Dynamic compiler will use instruction set available on host, so application can utilize the best available instructions without sacrificing users with old hardware.
You can also calculate or otherwise dynamically figure things out in runtime, and then compile with these values considered constant, so that the optimizer can remove dead code based on your values etc.
This is really remarkable.
https://forum.dlang.org/post/bskpxhrqyfkvaqzoospx@forum.dlang.org
!dlang