KOGURO, Naoki | 22 Jun 07:32

ANN: dyncomp 0.1

Hi all.

dyncomp 0.1 is released.

dycomp is a module that enables to create C function in  
gauche.cgen.cise (C in S expression). This function is compiled to  
native code with Tiny C Compiler (http://bellard.org/tcc/), so you can  
create a fast function.

Here is a Mandelbrot set benchmark in linux (PentiumM 2.13GHz).

# Scheme function
% gosh examples/mandelbrot.scm
;(time (fill-image image size))
; real   1.190
; user   1.180
; sys    0.010

# C function (using dyncomp)
% gosh examples/mandelbrot.scm -c
;(time (fill-image-fast image size))
; real   0.025
; user   0.020
; sys    0.000

See http://homepage.mac.com/naoki.koguro/prog/dyncomp/index.html for  
more details.

NOTE: dyncomp works only in Linux x86.

--
KOGURO, Naoki <naoki <at> koguro.net>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

Gmane