5 ms·
I like to compile an app for a big endian architecture and run its test suite to catch any endian-dependence bugs. Now, if you don’t have an actual need to por
by skissane 6y ago
I like to compile an app for a big endian architecture and run its test suite to catch any endian-dependence bugs.
Now, if you don’t have an actual need to port the app to a big endian architecture, maybe eliminating endianness bugs is just pursuing theoretical purity without any practical benefit. But if we are talking about a hobby project (as opposed to work), what’s wrong with that? It’s a good learning experience anyway. And maybe one day you really will need to port something to something big endian, and now you’ll know how.
Like Solaris SPARC (pretty dead I think), or AIX or IBM i PASE or IBM Z (none of which are dead yet, but all smaller than they used to be)
- znpy 6y ago> Like Solaris SPARC (pretty dead I think) SPARC is supposedly alive under the OpenSPARC project (https://en.wikipedia.org/wiki/OpenSPARC https://en.wikipedia.org/wiki/OpenSPARC). I think the market share is pretty thin, though. However, given that Oracle is involved (https://www.oracle.com/servers/technologies/opensparc.html https://www.oracle.com/servers/technologies/opensparc.html) I'd stay as far as I can from it.
- skissane 6y ago> SPARC is supposedly alive under the OpenSPARC project (https://en.wikipedia.org/wiki/OpenSPARC https://en.wikipedia.org/wiki/OpenSPARC). My impression is that OpenSPARC is dead. Nobody is working on it any more. (Someone tell me if I'm wrong.) There is also the open-source SPARC-based LEON radiation-hardened processor line favoured by the European Space Agency, but I think they are looking at moving to RISC-V in the future. Not only is OpenSPARC dead, I get the impression that "ClosedSPARC" is pretty dead too. After M8, Oracle laid off their CPU design team, there will be no successor to SPARC M8. Fujitsu was going to continue on, but, rumour has it, that they tried to buy SPARC off Oracle but couldn't reach a deal (probably Oracle was asking for too much money) and after that they've decided to move away from SPARC towards ARM. So I doubt their latest SPARC CPU (SPARC64 XII) is going to have a successor either. POWER/AIX is a different situation from SPARC/Solaris. Unlike Oracle, IBM is continuing to invest and we can expect new iterations in the future. (I used to work for Oracle, but not in the Systems area, and this isn't any non-public info, just stuff I've heard since I left.)
- fogihujy 6y ago> Now, if you don’t have an actual need to port the app to a big endian architecture, maybe eliminating endianness bugs is just pursuing theoretical purity without any practical benefit. But if we are talking about a hobby project (as opposed to work), what’s wrong with that? I like that idea. NetBSD focuses heavily on portability, and using less common architectures during testing should help ironing out weird bugs that would otherwise affect portability.
- deleted 6y ago[deleted]