ASCII-ART mandelbrot running under newCTFE
Johnson Jones via Digitalmars-d
digitalmars-d at puremagic.com
Fri Aug 4 17:59:01 PDT 2017
On Friday, 4 August 2017 at 22:50:03 UTC, Stefan Koch wrote:
> Hey Guys,
> I just trans-compiled a brainfuck mandelbrot into ctfeable D.
> newCTFE is able to execute it correctly (although it takes 3.5
> minutes to do so).
>
> The code is here
> https://gist.github.com/UplinkCoder/d4e4426e6adf9434e34529e8e1f8cb47
>
> The gist it evaluates the function at runtime since the newCTFE
> version capable of running this, is not yet available as a
> preview release.
>
> If you want a laugh you can compile the code with ldc and -Oz
> flag set.
> LLVM will detect that the function is pure and will try to
> constant-fold it.
> I do not know how long this takes though since my patience is
> limited.
>
> Cheers,
> Stefan
Any screenshots? I don't wanna have to install something I won't
use but once or twice but would be interested in seeing what is
going on since I used to be a fractal freak ;)
More information about the Digitalmars-d
mailing list