Closed higepon closed 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.
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.
fixedint
https://github.com/higepon/mosh/pull/227
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