There can't be easy portability if such fundamental thing as integer size differs from target to target. It's unlikely that a non-trivial program designed for one target can run on another with simple recompilation, because a lot of code is typically written with implicit size assumptions. Almost always porting a C program to a new platform requires some debugging and fixing necessary due to different type sizes and other differences. A good example of this are issues found in 32-bit programs for PC being ported to newer 64-bit processer.
Panzerschrek · · focus · HN ↗