Hacker News new | ask | show | jobs
by ogre_codes 1953 days ago
> Is windows better or worse than macs/osx with Linux hostility? To me, it seems like Microsoft is less bad than Apple in this regard.

I'm not sure what you mean.

Personally I like the Mac because it lets me run Unix stuff in a no BS way from the command line. It also runs Docker fine (haven't tried it on the M1).

It doesn't have something like WSL, but it doesn't really need it because you can compile most things for the MacOS command line.

Windows needs to run Linux well because it isn't Unix. The Mac is BSD Unix.

2 comments

I mean that you can't buy a computer with mac hardware and linux os. Microsoft isn't forcing hardware vendors to only use windows.

Osx unix is still vastly different from most production environments. I really like wsl because I can use whatever linux os that I'm comfortable with and have access to a wide range of supported apps on windows. It seems really elegant to me and its not just running a linux vm on windows like most assume. The integration between wsl and windows is pretty neat. e.g. this is in my .bashrc in wsl, it copies output to my windows clipboard (and note that its a windows exe that im invoking from wsl).

function cb () { powershell.exe -command "\$input | set-clipboard" }

I’m still not following you here.

I’ve done Django on MacOS, run Kubernetes Klusters, done Java Spring, Ruby, MySQL, Postgresql, MongoDB, Express.js, Koa, etc etc etc.

The MacOS shell is different from production Linux. So is WSL, so is whatever version of Linux you are running at home. If you want to mirror a product environment perfectly, you use Docker. Otherwise, most people aren’t going to see big differences.

The docker experience on Linux is vastly superior to that on Windows or macOS though