Re: declare 64 bit integers?



(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")


.



Relevant Pages

  • Re: Java or C++?
    ... > FEM packages, ATC, SABRE - but I suspect several of those are done in C ... compiler writing, theorem proving, CAS, scientific computing, ... >> Have a play with some more modern languages like OCaml and Haskell. ...
    (comp.programming)
  • Re: How do you interpret this code ?: Modified := Original + 1;
    ... isp's newsserver which is kinda weird. ... Which makes me wonder about maybe writing a p2p usenet system without ... Yesterday I thought the compiler generated it differently, ... The Original is loaded into EAX, ...
    (alt.comp.lang.borland-delphi)
  • Re: CC65 and REAL WORLD question
    ... I know the guys that work on the CC65 compiler know how to use it. ... Writing a web server for an old computer also seems pointless to me. ... I actually had a pretty cool sideline writing these kiddie games at one ...
    (comp.sys.apple2.programmer)
  • linuxassembly (italian book) I will not allow more than follow the work.
    ... programming in assembly x86-32/64 on Linux. ... I started after writing a small tutorial on writing a compiler step by ...
    (comp.lang.asm.x86)
  • Re: Parser or regex ?
    ... than using standard-library tools that are designed for parsing Python. ... >>> from compiler import ast ... The compiler.visitor package may also be of help in writing tree-walker ... Note that with a bit of black magic, you can modify the AST, and then ...
    (comp.lang.python)