News for hackers. Stuff that matters.
Re:NetBSD/Evbarm on Apple Silicon by tyingq on Tuesday August 31, 2021 @08:50AM (#28367369)
Now I'm curious if Apple Silicon supports switching to big-endian mode. NetBSD has a evbarm-aarch64eb target for this on other Aarch64 boards.

Would make it probably the best performing BE machine that's available to normal folks.

Re:NetBSD/Evbarm on Apple Silicon by CyberRabbi on Tuesday August 31, 2021 @10:31AM (#28368600)
Just curious, what is your specific interest in BE?
Re:NetBSD/Evbarm on Apple Silicon by tyingq on Tuesday August 31, 2021 @10:47AM (#28368787)
We used to, I feel, have higher quality software because it was tested out on a bunch of different platforms. One of the big things we've lost is testing for endianness related bugs, which sometimes catches other bugs too.

There's other categories that we catch less often now too, like assumptions about byte alignment, buffer sizes, and so on.

Re:NetBSD/Evbarm on Apple Silicon by reaperducer on Tuesday August 31, 2021 @11:51AM (#28369545)
Cross-platform development is a lost art. It made you think about your program a lot more before you hit the keyboard.

The people at AtariSoft and Infocom were wizards in that regard. People today just lean on Electron or something similar.

Imagine releasing the same game, written in assembler, for Atari, Commodore, Intellivision, BBC, Apple, IBM, TI, TRS-80, and Coleco machines.

Infocom had it a little easier, as it only had to write parsers for each platform. But then, it also released its games for freaking PDP-11 machines at least into the end of the 80's.

Re:NetBSD/Evbarm on Apple Silicon by ksec on Wednesday September 01, 2021 @02:13AM (#28376875)
>It made you think about your program a lot more before you hit the keyboard.

And as I have ranted about it for a whole decade, This was pushed by Google / Facebook or Silicon Valley. Thinking long and hard before you hit the keyboard are wrong in modern software development.

Re:NetBSD/Evbarm on Apple Silicon by kjs3 on Tuesday August 31, 2021 @11:40AM (#28369403)
Yup. OpenBSD has pointed out a number of times the utility of the SPARC build platform to ferret out things like bad alignment assumptions.

Perhaps someone will modify RISC-V or some such to have variable alignment rules, switchable endianness, etc. as a debugging platform.

But there's a limit...I doubt we'll see, for example, anyone offering a ones compliment machine, even though it might reveal some interesting bugs.