Re: [Chicken-users] spock tests

2012-09-09 Thread Andy Bennett
Hi,

>> How long does it usually take?
> 
> how long do you have?

I can run it tomorrow evening when I get home from work.





Regards,
@ndy

-- 
andy...@ashurst.eu.org
http://www.ashurst.eu.org/
0x7EBA75FF


___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] spock tests

2012-09-09 Thread john saylor
On 9/9/12, Andy Bennett  wrote:
> How long does it usually take?

how long do you have?

-- 
\js [http://or8.net/~johns/] : "complete obscure contrariness"

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] spock tests

2012-09-09 Thread Andy Bennett
Hi,

>> The threads test started showing me black swirls on a pink background,
>> that grew in synch together, then started again, but after a few hours
>> it slowly started to change into a glittering tunnel of rainbow light
>> and I started to hear voices whispering at me in an unfamiliar
>> language.
>> Is this normal?
> 
> Yes, that absolutely normal - it's a hidden feature. Wait until
> you see the bats.

I think there must be a bug in my browser. I'm on Firefox 10.0.7 on
Debian Wheezy. I've sat here all afternoon watching the swirls and I've
not seen the rainbow tunnel yet. I also didn't hear any sounds from my
speakers.

How long does it usually take?





Regards,
@ndy

-- 
andy...@ashurst.eu.org
http://www.ashurst.eu.org/
0x7EBA75FF


___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] spock tests

2012-09-09 Thread Ivan Shmakov
> Alaric Snell-Pym  writes:
> On 09/09/12 15:56, john saylor wrote:

 >> also, if the language turns out to be java, you should be worried-
 >> deeply worried ...

 > It was saying something like "Ph'nglui mglw'nafh Riastradh R'lyeh
 > wgah'nagl fhtagn"

Did the program you transform, by a chance, contain 'silver as
the car of one of the *gates* alist pairs?  That'd probably
explain it all.

-- 
FSF associate member #7257  http://sfd.am-1.org/

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] spock tests

2012-09-09 Thread Alaric Snell-Pym

On 09/09/12 15:56, john saylor wrote:


also, if the language turns out to be java, you should be worried-
deeply worried ...


It was saying something like "Ph'nglui mglw'nafh Riastradh R'lyeh
wgah'nagl fhtagn"

ABS

--
Alaric Snell-Pym
http://www.snell-pym.org.uk/alaric/

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] spock tests

2012-09-09 Thread john saylor
whoa

On 9/9/12, Alaric Snell-Pym  wrote:
> The threads test started showing me black swirls on a pink background,
> that grew in synch together, then started again, but after a few hours
> it slowly started to change into a glittering tunnel of rainbow light
> and I started to hear voices whispering at me in an unfamiliar language.
> Is this normal?

it might be. are you currently living in an institution of some sort?

also, if the language turns out to be java, you should be worried-
deeply worried ...

live long and prosper! [someone had to say it]

-- 
\js [http://or8.net/~johns/] : "complete obscure contrariness"

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] spock tests

2012-09-09 Thread Felix
> I just ran the experiment on V8 with Spock, this time using the "-optimize" 
> switch.  The results are:
> 
>   Execution times using V8 (Chrome 21.0.1180.89):
> 
>  Gambit-JSScheme2JS Spock
>   fib35   .801.541.9x2.40   3.0x
>   nqueens12   .72 .761.1x2.34   3.3x
>   oddeven .831.922.3x5.62   6.8x
>   ctak.18   17.64   95.9x .66   3.6x
>   contfib30  1.17  106.01   90.9x3.60   3.1x
>   btsearch2000   1.35   25.40   18.8x9.28   6.9x
>   threads10  1.34   24.68   18.5x4.71   3.5x
> 
> So the -optimize switch has actually slowed down the execution on the last 4 
> programs (those which use call/cc).  Can you explain what the -optimize 
> switch does?

Well, it (normally) optimizes the code. It enables things like
copy-propagation and dead-code elimination, which I assume are enabled
by default in Gambit. I can't explain the slowdown. There are too many
levels involved when compiling to JS...

> 
> Note that these experiments were done with a previous release of Spock (the 
> one that was current on July 6... I don't know how to get the Spock version 
> number from chicken-spock).  I know that you have released Spock 0.9 but I 
> had problems installing the new version on my OS X 10.8.1 computer so I can't 
> say if there is an improvement in the latest version.

I assume there isn't. The simple tests I did ran at about the same
speed, but this may be different for your tests or
continuation-intensive things.


cheers,
felix

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] spock tests

2012-09-09 Thread Felix
> 
> The threads test started showing me black swirls on a pink background,
> that grew in synch together, then started again, but after a few hours
> it slowly started to change into a glittering tunnel of rainbow light
> and I started to hear voices whispering at me in an unfamiliar
> language.
> Is this normal?

Yes, that absolutely normal - it's a hidden feature. Wait until
you see the bats.


cheers,
felix

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] spock tests

2012-09-09 Thread Marc Feeley

On 2012-09-08, at 4:54 PM, Felix  
wrote:

>> In my experiments (updated since we last talked to the most current version 
>> of Chrome, Firefox and Safari) I have found that the performance of Spock 
>> (and Scheme2JS) varies a lot between JavaScript VMs.  For example Nitro 
>> (Safari 6.0) runs JS code generated by Spock about 20 to 30 times slower 
>> than V8 (Chrome 21.0.1180.89).  I have attached below the table of results 
>> from my Scheme workshop paper.  The programs ctak, contfib30, btsearch2000 
>> and threads10 use continuations heavily.
> 
> Very good! Thanks or the timing results, this is certainly very
> interesting and I'm happy that Spock performs so well, considering
> that it uses an implementation strategy that brings out the worst
> in JS engines. BTW, did you use the "-optimize" switch?

I did not use the "-optimize" switch for the experiments reported previously.  
The reasons are explained in the Scheme workshop paper (which by the way is now 
available here: http://users-cs.au.dk/danvy/sfp12/programme-sfp12.html).

I just ran the experiment on V8 with Spock, this time using the "-optimize" 
switch.  The results are:

  Execution times using V8 (Chrome 21.0.1180.89):

 Gambit-JSScheme2JS Spock
  fib35   .801.541.9x2.40   3.0x
  nqueens12   .72 .761.1x2.34   3.3x
  oddeven .831.922.3x5.62   6.8x
  ctak.18   17.64   95.9x .66   3.6x
  contfib30  1.17  106.01   90.9x3.60   3.1x
  btsearch2000   1.35   25.40   18.8x9.28   6.9x
  threads10  1.34   24.68   18.5x4.71   3.5x

So the -optimize switch has actually slowed down the execution on the last 4 
programs (those which use call/cc).  Can you explain what the -optimize switch 
does?

Note that these experiments were done with a previous release of Spock (the one 
that was current on July 6... I don't know how to get the Spock version number 
from chicken-spock).  I know that you have released Spock 0.9 but I had 
problems installing the new version on my OS X 10.8.1 computer so I can't say 
if there is an improvement in the latest version.

Marc


___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] spock tests

2012-09-09 Thread Alaric Snell-Pym

On 07/09/12 23:23, Shawn Rutledge wrote:

And it's the same on Safari 6, OSX 10.7

On 8 September 2012 00:21, Shawn Rutledge  wrote:

All good on Chrome 21.0.1180.79 and Firefox 14, both on Linux, except for

(every-of #t)
=>  #f ; *** wrong ***, desired result:
=>  #t


I had that on Linux 64-bit x86, Firefox 10.0.2.

The threads test started showing me black swirls on a pink background,
that grew in synch together, then started again, but after a few hours
it slowly started to change into a glittering tunnel of rainbow light
and I started to hear voices whispering at me in an unfamiliar language.
Is this normal?

ABS

--
Alaric Snell-Pym
http://www.snell-pym.org.uk/alaric/

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Chicken UK 2012 is this month :-D

2012-09-09 Thread Alaric Snell-Pym


Hello Chickens!

September, once seemingly so distant, is now upon us, which means that
Chicken UK 2012 is starting to come together.

I've assembled a draft programme:

https://wiki.call-cc.org/event/chicken-uk-2012

However, I'm really just writing it so we have some ideas for something
to do each day; in practice, I plan to be flexible and consider the
weather and what moods we're all in each morning and go from there ;-)

There's several slots free for talks, if anyone would like to tell us
about anything they've been up to. If everyone's too shy, I will do some
more myself. You have been warned...

If anybody doesn't know where to come to, email me offlist and I'll give
you the URL of our "how to get here page" - I just don't want it getting
into search indexes!

ABS

--
Alaric Snell-Pym
http://www.snell-pym.org.uk/alaric/

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] !csc & !csw on duckduckgo.com

2012-09-09 Thread 1126
On Fri, 07. Sep 20:52, Andy Bennett wrote:
> Hi,
> 
> A couple of weeks ago I applied for some Chicken Scheme related !bangs
> on the search engine at duckduckgo.com
> 
> More information about !bang and Duck Duck Go in general can be found here:
> https://duckduckgo.com/bang.html
> 
> 
> The short story is that you can now type:
> 
> !csc TERM
> 
> in order to do a regex search in Chickadee (Chicken Scheme Chickadee - csc).
> 
> 
> ...or you can type
> 
> !csw TERM
> 
> in order to do a "Free Text" search of the wiki (Chicken Scheme Wiki - csw).
> 
> 
> 
> https://duckduckgo.com/bang.html also advises that you can use the !srfi
> bang notation as well.
> 
> 
> 
> Duck Duck Go can be accessed at http://www.duckduckgo.com/ or http://ddg.gg/
> 
> I'm not affiliated with Duck Duck Go but thought it'd be cool to have
> some Chicken related shorthands.
> 
> 
> 

What a good idea! Great, one reason more to use duckduckgo!

Thank you! :)
> 
> 
> 
> Regards,
> @ndy
> 
> -- 
> andy...@ashurst.eu.org
> http://www.ashurst.eu.org/
> 0x7EBA75FF
> 
> 
> ___
> Chicken-users mailing list
> Chicken-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/chicken-users

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users