{OT} Youtube Video: newCTFE: Starting to write the x86 JIT

evilrat via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 21 20:03:32 PDT 2017


On Thursday, 20 April 2017 at 14:54:20 UTC, Stefan Koch wrote:
> On Thursday, 20 April 2017 at 14:35:27 UTC, Suliman wrote:
>>
>> Could you explain where it can be helpful?
>
> It's helpful for newCTFE's development. :)
> The I estimate the jit will easily be 10 times faster then my 
> bytecode interpreter.
> which will make it about 100-1000x faster then the current CTFE.

Is this apply to templates too? I recently tried some code, and 
templated version with about 10 instantiations for 4-5 types 
increased compile time from about 1 sec up to 4! The template 
itself was staightforward, just had a bunch of static 
if-else-else for types special cases.


More information about the Digitalmars-d mailing list