higepon / mosh

Mosh is a free and fast interpreter for Scheme as specified in the R6RS.
http://mosh.monaos.org/
Other
181 stars 13 forks source link

Update Fixnum for 64bits #225

Closed higepon closed 2 years ago

higepon commented 2 years ago

Currently Mosh's Fixnum assume pointer size == 32 bits. But now 64 bits is majority. We should make it work for both 32 bits and 64 bits.

Basic design

We always use fixedint for Finxum related fucionts in C/C++ world which corresponds to int64_t in 64 bits and int32_t in 32 bits.

Steps

higepon commented 2 years ago

https://github.com/higepon/mosh/pull/227