You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there really no easy fix the the big endian issue? I hate to see this regression in terms of portability solidified in an official release.
hints:
we could settle with little endian format for storage and byte swapping in the compiler and interpreter on big endian targets. This would have an impact only on those architectures but at least keep them alive and supported.
we could support native format, IOW no cross compilation between architectures. This might be the current state, but at least make it official and check for validity upon loading bytecode objects.
we could settle with little endian format for storage and byte swapping in the compiler and interpreter on big endian targets. This would have an impact only on those architectures but at least keep them alive and supported.
This is really what we removed. The bytecode was always stored in LE and we tried to make it portable across different endianness.
we could support native format, IOW no cross compilation between architectures. This might be the current state, but at least make it official and check for validity upon loading bytecode objects.
This is the case. I guess we already have a form of validity, as in, the version wouldn't match when a BE build tries to read LE bytecode.
Activity
bnoordhuis commentedon Mar 21, 2026
Sounds good. v0.13.0 because of new APIs and the bytecode format change?
saghul commentedon Mar 21, 2026
Yeah!
chqrlie commentedon Mar 21, 2026
Is there really no easy fix the the big endian issue? I hate to see this regression in terms of portability solidified in an official release.
hints:
saghul commentedon Mar 21, 2026
This is really what we removed. The bytecode was always stored in LE and we tried to make it portable across different endianness.
This is the case. I guess we already have a form of validity, as in, the version wouldn't match when a BE build tries to read LE bytecode.
saghul commentedon Mar 21, 2026
New release is out, I'll be closing this. Happy to discuss BE stuff further in a dedicated issue.
saghul commentedon Mar 21, 2026
@chqrlie Let's continue here: #1417