Fruit International

Obrazek ovoce

Vemte si strážnou vež! Já čtu jen Železničáře. Jehova miluje i železničáře!

Fruit Intl. morálně podporuje následující projekty:

schemik.sourceforge.net
diagnose.sourceforge.net
www.rustina-preklad.cz
petruj.eu/blog/

Schemik-0.5.0

Schemik is yet another implementation of Scheme interepreter focusing on implicitly parallel evaluation rather then R5RS compliancy or performance.

Source

Source are available at schemik-0.5.0.tar.bz2

Using

Just take your SMP machine and run your scheme applications. Caution: the base library still support only a small amount of R5RS. For more help see: ./schemik --help

Installation

Schemik requires -- boehm's garbage collector (http://www.hpl.hp.com/personal/Hans_Boehm/gc/), flex and bison. Just type: make (ENTER)

Copying

Schemik is distributed under terms of the MIT License (see COPYING).

Screenshots ;-]

All screenshots has been taken on 2x Opteron 265 machine (2 cores each), 4GB ram.

30th fibbonaci number using one thread 

time ./schemik -t 0 -q -c "(define (fib x) (if (< x 3) 1 (+ (fib (- x 1)) (fib (- x 2))))) (display (fib 30))"
832040
real    0m2.782s
user    0m2.772s
sys     0m0.012s

30th fibbonaci number using five threads

time ./schemik -t 4 -q -c "(define (fib x) (if (< x 3) 1 (+ (fib (- x 1)) (fib (- x 2))))) (display (fib 30))"
832040
real    0m1.410s
user    0m4.596s
sys     0m0.160s

Sorting 100000 pseudo-random numbers using quicksort and one thread

time ./schemik -t 0 -s scm/quicksort.scm
real    0m26.475s
user    0m26.418s
sys     0m0.056s

Sorting 100000 pseudo-random numbers using quicksort and six threads 

time ./schemik -t 5 -s scm/quicksort.scm
real    0m15.592s
user    0m27.774s
sys     0m2.152s

Vytvořil(a) deda.jabko v 26. 06. 2007, 19:25