1 Sep 2006 08:34
Re: 64-bit Scheme48
Taylor R Campbell <campbell <at> mumble.net>
2006-09-01 06:34:26 GMT
2006-09-01 06:34:26 GMT
Several hours after taking another stab at fixing bignums in my patched Scheme48 for 64-bit environments, I've tracked down a number of other hard-coded constants designed for 32-bit environments, and in the process fixed flonums as well. I've uploaded updated patches at the same locations, <http://people.csail.mit.edu/riastradh/tmp/s48-64-all.patch> <http://people.csail.mit.edu/riastradh/tmp/s48-64.patch>; with the same instructions for application, except that you also have to touch `c/scheme48.h' before trying to build. Also, if you do not have an existing Scheme48 instance (for example, if you use a AMD64 machine but have not installed 32-bit compatibility libraries), you can substitute the (gzipped) file at <http://people.csail.mit.edu/riastradh/tmp/s48-64-initial.image.gz> for `build/initial.image' instead of bootstrapping it yourself (step 3 in my previous email). I'm not aware of any bugs in the new patches, but of course I haven't tested everything; it would be great if anyone out there with 64-bit environments could try running lots of code in this new 64-bit-native Scheme48 variant. Now, while this seems to work (although I haven't tested it extensively), it's miserably unsatisfactory. All that I've done is to change a number of hard-coded numerical constants, some of which are painfully obscure (e.g., shifting a stob header right by eleven instead of ten to get the length it encodes), and some C types. The(Continue reading)
RSS Feed