Dlang dynamic compilation

Ivan Butygin via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Thu Nov 24 10:34:51 PST 2016


On Thursday, 24 November 2016 at 17:37:01 UTC, Daniel N wrote:
> On Wednesday, 23 November 2016 at 17:18:05 UTC, Ivan Butygin 
> wrote:
>> On Wednesday, 23 November 2016 at 09:12:15 UTC, kink wrote:
>>> Hi Ivan,
>>>
>>> seems pretty cool and there are surely quite a few use cases 
>>> for it, but I currently lack the time to check and comment on 
>>> the code. Do you plan to eventually upstream it into LDC?
>>
>> Thanks
>>
>> It would be great to have this feature in the official LDC. 
>> But before that I wanted to discuss and stabilize features and 
>> API.
>
> Totally epic! Please make this happen!
>
> How about "@jit" instead of "@runtimeCompile"?
>
> Would it work for blocks or only functions?
>
> @jit
> {
> }

Actual attribute name is a subject for discussion because I'm 
pretty bad at naming things :)
Doing this for blocks will complicates implementation a LOT not 
to mention it will require changes in frontend I wanted to avoid. 
But it should be possible to do this for nested functions (I 
didn't tried this yet).



More information about the digitalmars-d-ldc mailing list