On Sun, Nov 09, 2014 at 09:49:59PM +0000, Robert de Bath wrote: > The performace of the 1.0.1 version has dropped by about 98% compared > to version 0.0.6 in wheezy. It now runs far slower than a naïve > implementation such as the 22 line 'microbf' program and clocks in > at around 20000 times slower than the fastest implementations. > > The 0.0.6 version was already one of the slower C based interpreters > around but the version 1.0.1 performance is well below the norm and > in the range normally occupied by interpreters written in intepreted > languages. > > There is obviously a serious problem here.
Hi Robert, Beef's focus is on flexibilty rather than performance: as you noticed, previous versions were not among the fastest Brainfuck interpreters either. The latest version is a complete rewrite on top of Cattle, a GObject-based library, which of course introduces some overhead. That said, I agree with you that performance is not as good as it could, and should, be. In fact, now that the rewrite is complete, my main focus will be making it faster, but of course that will have to wait until jessie+1. Thank you for your interest in Beef. Have a nice day. -- Andrea Bolognani <e...@kiyuko.org> Resistance is futile, you will be garbage collected.
signature.asc
Description: Digital signature