Re: Pre-compiled picolisp for CentOS, Cygwin, OSX

2013-11-03 Thread Alexander Burger
Hi Jon, Keith,

 I've done some more testing of your 64-bit PicoLisp on my old MacBook Air,
 ...
 : (== 64 64)
 - T
 : (de fibo (N) (if (= 2 N) 1 (+ (fibo (dec N)) (fibo (- N 2)
 - fibo
 : (bench (fibo 33))
 20.361 sec
 - 3524578
 
 The same test using standard 32-bit PicoLisp runs a lot faster:
 
 : (bench (fibo 33))
 2.136 sec
 - 3524578
 
 What can be the reason for this huge difference?

You must be running the emulator. There is no native 64-bit version for
the Mac, right?

You will probably get

   : *CPU
   - emu

instead of

   : *CPU
   - x86-64

♪♫ Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Pre-compiled picolisp for CentOS, Cygwin, OSX

2013-11-03 Thread Alexander Burger
Hi Keith,

 For OSX, I don't remember exactly, but I think I compiled with emu (Make
 emu), and that's probably why it's so slow.

Yes, this explains the slow down.

IIRC 'make' even defaults to 'emu' if no supported architecture is
detected.

♪♫ Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Pre-compiled picolisp for CentOS, Cygwin, OSX

2013-11-03 Thread Jon Kleiser
Hi,

Yes, on my Mac I get

: *CPU
- emu

Sorry, I had completely forgotten about the emu. ;-)

/Jon

 Hi Jon, Keith,

 I've done some more testing of your 64-bit PicoLisp on my old MacBook
 Air,
 ...
 : (== 64 64)
 - T
 : (de fibo (N) (if (= 2 N) 1 (+ (fibo (dec N)) (fibo (- N 2)
 - fibo
 : (bench (fibo 33))
 20.361 sec
 - 3524578

 The same test using standard 32-bit PicoLisp runs a lot faster:

 : (bench (fibo 33))
 2.136 sec
 - 3524578

 What can be the reason for this huge difference?

 You must be running the emulator. There is no native 64-bit version for
 the Mac, right?

 You will probably get

: *CPU
- emu

 instead of

: *CPU
- x86-64

 ?? Alex


-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Pre-compiled picolisp for CentOS, Cygwin, OSX

2013-11-03 Thread Keith Kim
For Cygwin version, cygwin DLLs are included, thus it runs in command
window also.  I haven't check all the functionalities though.

The reason I uploaded binaries is that new users usually prefer downloading
runnable binaries and test things quickly, otherwise many of them will just
turn away.

I'm glad it is helpful. :-)




On Fri, Nov 1, 2013 at 10:45 AM, Joe Bogner joebog...@gmail.com wrote:

 Thanks Keith. The cygwin one is helpful. The last time I compiled it
 is a few years ago and haven't reconfigured cygwin on this machine to
 build

 On Fri, Nov 1, 2013 at 10:20 AM, Keith Kim keith...@gmail.com wrote:
  Hello,
 
  I've uploaded pre-compiled picolisp for CentOS6 (32 and 64bit), OSX and
  Cygwin:
 
 
 http://blog.keithkim.com/2013/11/pre-compiled-picolisp-for-centos-and.html
 
  Well, it's very easy and no trouble compiling them for anyone, but just
 for
  convenience.
 
  BR,
 
  Keith Kim
 
 
  --
  UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
 --
 UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe