Get the latest tech news

Overview of cross-architecture portability problems


Ideally, you’d want your program to work everywhere. Unfortunately, that’s not that simple, even if you’re using high-level “portable” languages such as Python. In thi…

In fact, musl libc unconditionally provides 64-bit types, rendering this problem a relic of the past — and apparently glibc is planning to switch the default in the future as well. Effectively, it may end up hanging randomly (waiting for some wall clock time to pass), not firing events or seeding a PRNG with a constant. As you can probably guess, there is a fair number of programs suffering from issues like that simply because they don’t crash on x86, and it’s easy to silence the normal compiler warnings (e.g. by type punning, as used it in the example).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of overview

overview

Related news:

News photo

A overview of binaries, ELF, and NoMMU on Linux

News photo

Is investing in competitor analysis worth It? An overview of the process

News photo

An Overview of Datalog (2010)