News for hackers. Stuff that matters.
Re:Overview of cross-architecture portability problems by denotational on Monday September 23, 2024 @01:26PM (#41628442)
Missed my favourite one: differences in the memory consistency model.

If you’re using stdatomic and the like correctly, then the library and compiler writers have your back, but if you aren’t (e.g. using relaxed ordering when acquire/release is required), or if you’re rolling your own synchronisation primitives (don’t do this unless you know what you’re doing!), then you’re going to have a bad day.

Re:Overview of cross-architecture portability problems by twoodfin on Tuesday September 24, 2024 @01:55PM (#41639166)
When Alpha was a vaguely viable platform, it was fantastically helpful to throw it into a build farm to find these kinds of issues.