4 ms·
If you want to make portable software that can run on POSIX-compliant platforms, it'll be considerably harder than writing software using Xcode and Swift. There
by rbanffy 6y ago
If you want to make portable software that can run on POSIX-compliant platforms, it'll be considerably harder than writing software using Xcode and Swift. There are tools that make it less hard, but when NeXT was created, X was not what it is today, Wayland didn't exist, and they didn't need a network-transparent windowing system because the fashionable model of the day was client-server. More than that, by dropping most of X, the memory requirements were much lower and UI lag was minimal. These were probably the guiding principles for pretty much every decision they made.
Much like Microsoft, Apple doesn't want macOS or iOS apps to run on anything other than their platform. For any OS, the winning strategy to gain market is encouraging porting to the platform and discouraging porting away from it.
- pjmlp 6y agoI have written professionally POSIX software during the late 90's during the .COM wave, using the vendor SDK and respective C compiler targeting HP-UX, Aix, Solaris, Red-Hat Linux, with in-house wrappers for NT/2000. During high school I got introduced to UNIX via Xenix, and my first years at the university we had DG/UX on campus, while I started playing with Slackware 2.0 to avoid going into the campus fighting for a terminal after 1h bus trip. Doing POSIX stuff was the same mess as making a Web site work properly across all major browsers.
- rbanffy 6y ago> Doing POSIX stuff was the same mess as making a Web site work properly across all major browsers. My memories are substantially more traumatic than that, but, anyway, it still is complicated. I've been following the ncurses devel list and it's amazing how many different OSs people run it on.