|
|
Guile |
Back to the Win32 Shootout Back to dada's perl lab |
You'll also need the regex-0.12 package from the download directory: I've simply copied libregex.dll to guile-1.4/bin, libregex.lib to guile-1.4/lib and regex.h to guile-1.4/include.
Unfortunately this binary doesn't seem to be able to run from another drive (eg. I have the language installed in E: but the shootout programs are launched from P:), it always fails with the message:
ERROR: In procedure primitive-load-path: ERROR: Unable to find file "ice-9/boot-9.scm" in load pathI have workarounded this by copying the whole guile-1.4/ice-9 directory to P: (ugly, I know: I'll try to come up with a better solution in the future :-).
| Guile | |
|---|---|
| Tested Version | Guile 1.4 |
| Home Page | http://www.gnu.org/software/guile/guile.html |
| Download | http://www.textsure.net/~ela/download/ |
| View All Source Code For Guile | |
|
(Ranks in Red in the
table below are those which fall below the average Rank for this language
over all tests. The corresponding programs could possibly benefit from further optimization.) |
||||||||
| Test | Source Code | Avg Rank: 33 | Avg Rank: 28 | Avg Rank: 14 | Log | |||
|---|---|---|---|---|---|---|---|---|
| CPU | Rank | Mem | Rank | LOC | Rank | |||
| Ackermann's Function | ackermann.guile | 8.52 | 35 | 2784 | 29 | 9 | 5 | log |
| Array Access | ary3.guile | 23.83 | 33 | 2524 | 28 | 15 | 16 | log |
| Count Lines/Words/Chars | wc.guile | 43.77 | 35 | 2460 | 27 | 18 | 19 | log |
| Echo Client/Server | echo.guile | F | (F) * | F | (F) * | 32 | 3 | log |
| Exception Mechanisms | except.guile | 5.35 | 22 | 2656 | 23 | 25 | 7 | log |
| Fibonacci Numbers | fibo.guile | 16.67 | 40 | 2476 | 41 | 7 | 8 | log |
| Hash (Associative Array) Access | hash.guile | 2.46 | 26 | 7380 | 15 | 14 | 14 | log |
| Hashes, Part II | hash2.guile | 213.95 | 35 | 3776 | 20 | 19 | 17 | log |
| Heapsort | heapsort.guile | 11.81 | 33 | 6212 | 30 | 50 | 16 | log |
| Hello World | hello.guile | 22.88 | 43 | 2472 | 41 | 1 | 4 | log |
| List Operations | lists.guile | F | (F) * | F | (F) * | 31 | 10 | log |
| Matrix Multiplication | matrix.guile | 34.37 | 31 | 2488 | 27 | 38 | 20 | log |
| Method Calls | methcall.guile | 19.55 | 28 | 2708 | 26 | 29 | 3 | log |
| Nested Loops | nestedloop.guile | 47.05 | 47 | 2472 | 41 | 17 | 24 | log |
| Object Instantiation | objinst.guile | 36.08 | 26 | 2732 | 23 | 32 | 5 | log |
| Producer/Consumer Threads | prodcons.guile | F | (F) * | F | (F) * | 35 | 9 | log |
| Random Number Generator | random.guile | 6.64 | 41 | 2736 | 38 | 16 | 17 | log |
| Regular Expression Matching | regexmatch.guile | F | (F) * | F | (F) * | 44 | 17 | log |
| Reverse a File | reversefile.guile | 5.41 | 28 | 12360 | 20 | 5 | 7 | log |
| Sieve of Erathostenes | sieve.guile | 56.17 | 39 | 2720 | 36 | 17 | 10 | log |
| Spell Checker | spellcheck.guile | 13.02 | 27 | 4844 | 15 | 17 | 20 | log |
| Statistical Moments | moments.guile | 3.89 | 25 | 5408 | 18 | 46 | 10 | log |
| String Concatenation | strcat.guile | 1.23 | 30 | 3188 | 31 | 28 | 43 | log |
| Sum a Column of Integers | sumcol.guile | 14.72 | 34 | 2464 | 32 | 5 | 11 | log |
| Word Frequency Count | wordfreq.guile | 37.84 | 27 | 3216 | 22 | 24 | 10 | log |
| *Test Implemented but not measured (timeout or error). | ||||||||
|
Back to the Win32 Shootout Back to dada's perl lab |
Send comments or suggestions to dada@perl.it |