danpovey / lilcom

Small compression utility
Other
33 stars 10 forks source link

Big-endian system test #19

Open danpovey opened 5 years ago

danpovey commented 5 years ago

I'd like to find a way to test this on a big-endian system. @funcwj or @soroushzargar do you have any ideas on this? A system emulator should be OK.

System compatibility is going to be a big deal here because of the nature of the algorithm (it requires perfectly identical computations on the system where it was compressed and where it's decompressed; that's why everything is done in integer arithmetic).

csukuangfj commented 2 years ago

I think we can use qemu to do that.

We can compile qemu to get a binary aarch64_be-linux-user, which is able to emulate big endian 64-bit arm on x86 machines.

But lilcom depends on Python, I am not sure how easy it is to test it with aarch64_be-linux-user.

danpovey commented 2 years ago

this is not super urgent I'd say, I doubt people are going to be doing much training on big endian systems.