kampersanda/xcdat

64-bit operating system requirement

bojeckkk opened this issue · 2 comments

Hey,

The frontpage for xcdat states:

The library considers a 64-bit operating system. The code has been tested only on Mac OS X and Linux. That is, this library considers only UNIX-compatible OS.

Is it a strict requirement? I would like to use the library on ARM32, so running under 32-bit OS.

@MrSherish

Is it a strict requirement?

Maybe yes. This is because the Rank dictionary (implemented in bit_vector.hpp) employs Vigna's Rank9 implementation that handles 64-bit words.

In Xcdat, however, all 64-bit words are handled using std::uint64_t. If std::uint64_t is simulated on your 32-bit environment, running Xcdat may be possible.

jmr commented

Maybe the requirements could be clarified to "requires std::uint64_t support" rather than "64-bit".