On Saturday, 27 December 2014 at 09:53:42 UTC, Iain Buclaw wrote:
For a more practical example, I've added an example jit
compiled brainf*** interpreter.
https://github.com/ibuclaw/gccjitd/blob/master/tests/brainf.d
Another practical example has been published which implements a
made up
On 28 Dec 2014 21:25, bearophile via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
Iain Buclaw:
1.086s: bfgccjitd-runtime-O2
1.139s: bfgccjitd-runtime-O1
2.759s: bfgccjitd-O1
3.646s: bfgccjitd-O2
4.959s: bff-O2
Five times faster than bff is a lot :-)
On Saturday, 27 December 2014 at 10:47:55 UTC, bearophile wrote:
Iain Buclaw:
For a more practical example, I've added an example jit
compiled brainf*** interpreter.
https://github.com/ibuclaw/gccjitd/blob/master/tests/brainf.d
Here I have put a little program you can use as performance
Iain Buclaw:
Sure, what is that supposed to do?
Iain.
To print a classic image of the Mandelbrot Set (but Codepad seems
down currently).
Bye,
bearophile
On 28 December 2014 at 10:24, bearophile via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
Iain Buclaw:
Sure, what is that supposed to do?
Iain.
To print a classic image of the Mandelbrot Set (but Codepad seems down
currently).
Bye,
bearophile
Thanks - turns out
Iain Buclaw:
1.086s: bfgccjitd-runtime-O2
1.139s: bfgccjitd-runtime-O1
2.759s: bfgccjitd-O1
3.646s: bfgccjitd-O2
4.959s: bff-O2
Five times faster than bff is a lot :-)
My best timings are usually around two times faster than bff. I
guess gccjit is not an average JIT-tter.
Bye,
For a more practical example, I've added an example jit compiled
brainf*** interpreter.
https://github.com/ibuclaw/gccjitd/blob/master/tests/brainf.d
Also will be adding instructions on how to build the libgccjit
frontend later this week - if you haven't already worked it out
from the gccjit
Iain Buclaw:
For a more practical example, I've added an example jit
compiled brainf*** interpreter.
https://github.com/ibuclaw/gccjitd/blob/master/tests/brainf.d
Here I have put a little program you can use as performance
benchmark:
http://codepad.org/hogVnlIS
Bye,
bearophile
Hi,
Apparently I've never announced this here, so here we go.
I have written, and started maintaining D bindings for the GCCJIT
library, available on github at this location:
https://github.com/ibuclaw/gccjitd
What is GCCJIT?
---
GCCJIT is a new front-end for gcc that aims to provide