News for hackers. Stuff that matters.
Re:Cosmopolitan Third Edition by rhizome on Thursday November 02, 2023 @12:52AM (#38109142)
POSIX was never about binary portability.
Re:Cosmopolitan Third Edition by sheepscreek on Thursday November 02, 2023 @01:10AM (#38109243)
Well said. In reality, it has been more about supporting common system level APIs (think read, write, fork, etc).
Re:Cosmopolitan Third Edition by stephc_int13 on Thursday November 02, 2023 @04:23AM (#38110459)
The binary portability is, in practice, not the most difficult feature, as long as the CPU arch is the same. It is also kind of a hack and IMO a nice-to-have feature but not as vital as true portability.

POSIX was not limited to the Unix world, the goal was for it to be implemented by all OS vendors, and it was partially done.

Re:Cosmopolitan Third Edition by rhizome on Thursday November 02, 2023 @03:48PM (#38119008)
Doesn't matter. POSIX is "write once, compile everywhere," while this is "compile once, run everywhere." It could be that POSIX is easier to write than for Cosmo bins, shifting the balance between them! I see them as just different endpoints of development.