Hacker News new | ask | show | jobs
by pjmlp 276 days ago
If you mean UNIX System V via green phosphor text terminals, thankfully not.

Speed bumps regarding compilation of tooling written with UNIX semantics in mind, without taking into consideration Windows development culture and OS semantics.

1 comments

What are these mythical Unix semantics?

Linking to Glibc? Sharing a roughly similar file system structure? Expecting bash to be there?

Because from where I stand the people that care about BSD have spent the past decade complaining it’s getting more and more complicated to port Linux software so I’m very curious to know what the common DNA is supposed to be.

Everything that UNIX has and Windows doesn't.
That’s as vague as it gets. The amount of things various Unix have in common is, well, not that much. Not that people care in any way because frankly speaking no one uses Unix.

I get that you meant is probably that MacOS is close enough to Linux that you can somehow pretend it is the same when developing things which are ultimately going to run on Linux.

To which I say, I personally think that buying Apple is wasting a lot of money for something which would work fine in a VM but well, that’s nice aluminium I guess.

It is super easy, pick any random UNIX tutorials and follow it using Visual Studio, or Windows Terminal.
But certainly, but I invite you to pick any of this supposed Unix tutorial and try it on AIX or HP-UX the other two certified Unix and see if it works.

As a reminder, AIX ships with ksh, the IBM XL compiler, is configured via smit, stores parameters in ODB. It has no port system and while it supports gcc, the gnu linker doesn’t work. Also it is entirely compiled for the Power ISA architecture.

I have experience across Xenix, DG/UX, Solaris, Aix, HP-UX, Tru64, NeXTSTEP, OS X, FreeBSD and all major Linux distributions starting with Slackware 2.0.

So I might know a thing or two about portable UNIX code, and getting it to run on a non-UNIX system like Windows.

Here is a reminder for you as well, one of those follows the same dynamic linking model as Windows.