Re: declare 64 bit integers?
- From: "Alex Mizrahi" <udodenko@xxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 27 Sep 2007 22:42:27 +0300
(message (Hello 'jrwats@xxxxxxxxx)
(you :wrote :on '(Thu, 27 Sep 2007 04:09:24 -0000))
(
j> I'm writing a chess program using rotate bitboards (64 bit integers)
j> (http://en.wikipedia.org/wiki/Bitboard) . Anyways, I'm competing
j> against some people writing the program in Java and C++, and I want to
j> top them when I get mine all compiled. So I know you can declare
j> fixnums (28-bit), but is there any way to declare 64-bit integers to
j> get compiled LISP running super fast?
i'm afraid it won't run "super fast" (if you mean using directly machine
registers/CPU instructions) on any available implementation.
you can pick one -- for example, SBCL -- and ask developers if it's possible
to extend compiler to suport this stuff.
if you are not aiming for "absolutely fast" you can check bit vectors etc..
check what it does in disassembly, in any way..
)
(With-best-regards '(Alex Mizrahi) :aka 'killer_storm)
"Hanging In The Balance Of Deceit And Blasphemy")
.
- Follow-Ups:
- Re: declare 64 bit integers?
- From: Nathan Froyd
- Re: declare 64 bit integers?
- From: David Lichteblau
- Re: declare 64 bit integers?
- References:
- declare 64 bit integers?
- From: jrwats
- declare 64 bit integers?
- Prev by Date: How to implement heap as a binary tree in lisp?
- Next by Date: Re: (not about) Re: How To Learn Lisp
- Previous by thread: Re: declare 64 bit integers?
- Next by thread: Re: declare 64 bit integers?
- Index(es):
Relevant Pages
|