Re: GCCJIT Bindings for D

2015-01-04 Thread Iain Buclaw via Digitalmars-d-announce
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

Re: GCCJIT Bindings for D

2014-12-29 Thread Iain Buclaw via Digitalmars-d-announce
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 :-)

Re: GCCJIT Bindings for D

2014-12-28 Thread Iain Buclaw via Digitalmars-d-announce
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

Re: GCCJIT Bindings for D

2014-12-28 Thread bearophile via Digitalmars-d-announce
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

Re: GCCJIT Bindings for D

2014-12-28 Thread Iain Buclaw via Digitalmars-d-announce
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

Re: GCCJIT Bindings for D

2014-12-28 Thread bearophile via Digitalmars-d-announce
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,

Re: GCCJIT Bindings for D

2014-12-27 Thread Iain Buclaw via Digitalmars-d-announce
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

Re: GCCJIT Bindings for D

2014-12-27 Thread bearophile via Digitalmars-d-announce
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

GCCJIT Bindings for D

2014-12-22 Thread Iain Buclaw via Digitalmars-d-announce
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