I move from Windows to UNIX, but have not yet decided on which one. In general, I like (poorly said) apple laptops, but first I want to know what advantages Linux (Debian / Ubuntu) can give a programmer that will not be available on Mac OS X?

I work mainly in C ++ in the field of finance. As a hobby, I am engaged in Olympiad programming, again on the pros.

I will be glad to any advice from people who used both operating systems.

Closed due to the fact that off-topic participants aleksandr barakin , tutankhamun , Peter Olson , Visman , Shilgen August 17 '15 at 10:59 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • " Questionnaires are forbidden on Stack Overflow in Russian . To get an answer, rephrase your question so that it can be given an unambiguously correct answer." - aleksandr barakin, tutankhamun, Peter Olson, Visman, Shilgen
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • And what is the best way to write cfr code on OS X? - magic
  • I switched from Linux to Mac, set up the same environment, and as a result didn’t see a difference in programming - andreymal
  • @magic: under OS X there is Eclipse and Intellij IDEA, both seem to work with c ++. Well, all there Sublime and Vim, too, has not been canceled))) - Nick Volynkin
  • Voted for rediscovery. In my opinion, the choice is quite specific: the author needs to continue development on c ++ in a convenient environment and get all the benefits of UNIX. - Nick Volynkin

2 answers 2

I use both Mac OS X and Linux Debian .

And there, and there you can use btsync , dropbox , vim , emacs , firefox , chrome , skype , python , perl , clang , gcc , ruby , fish , zsh and more.

Darwin (OS X, iOS)

  • Poppies do not fight. Only crumple. Or just the screen.
  • Many beautiful apps with a good graph. interface.
  • Very affordable tech support.
  • UNIX-like system.
  • No need to bother about configs like on Linux , and especially like FreeBSD .
  • There is no support for some almost standard things Linux . For example, there is no single package manager (other than the App Store) or the /etc/init.d folder. Maybe in this respect, Linux in the terminal will be more comfortable.
  • Developed by Apple , which is so large that it sometimes comes to not programmers, but housewives. This has its downsides.

Linux (Debian, LinuxMint, Ubuntu, Fedora, RedHat, CentOs, ArchLinux, openSuSe, Android, ...)

  • A lot of distros. May cause difficulties at first.
  • More console utilities.
  • It can run in a convenient console mode, unlike Safe Mode in OS X. So less RAM is eaten.
  • Since there are a lot of distributions, and their configurations are even greater, then, in my opinion, Linux is a bit more secure. If you don’t have a server, there should be no difference.
  • Open source .
  • The Linux kernel weighs one and a half gigabytes (as I recall). In OS X 8, initially, but in less than 50 gigs with three main ( brew port fink ) package managers it is difficult to fit.

The assessment, of course, is subjective, since at the moment from Linux I use only Debian as a server.

I tried to highlight the most important thing in this list, but most likely I missed something.

  • and the finder is not a single package manager? maybe this is a noob question, but I'm not strong in UNIX) - magic
  • 3
    The @magic finder is a common explorer. Allows you to navigate through folders and manage folders and files. The package manager, if greatly simplified, is a program that controls the installation and removal of other programs and additions to them. To install the C ++ compiler in Debian with all the buns, you need to install 19 packages (performed by 1 command): dpkg-dev fakeroot g++ g++-4.7 gcc gcc-4.7 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libc-dev-bin libc6-dev libdpkg-perl libfile-fcntllock-perl libitm1 libstdc++6-4.7-dev libtimedate-perl linux-libc-dev make manpages-dev - atom-22
  • @magic: as a package manager, install Homebrew: brew.sh - Nick Volynkin
  • @ atom-22 There is a much simpler command: apt-get install g++ . He herself always installed - handicraftsman
  • You can also install Windows on a mac to stay in a familiar environment. - Vladimir Gamalyan

I was engaged in programming both there and there, besides taste preferences, there is no significant difference. Comfortable programming is quite possible in Ubuntu and on Mac OS X.

Unless the community of Ubuntu seemed to me more active and more responsive.

There are great sites on StackExchange on both OSs: so if you want you can figure it out.

https://apple.stackexchange.com/

https://askubuntu.com/

ps The question holivarny, it is better to specify as much as possible.

  • thanks for your reply! Many just talk about the fact that the OS X terminal does not give complete freedom, unlike linux, but rarely explains exactly what it is - have you noticed something like that? I agree with hollywood, but I am mostly interested in the pitfalls - in the spirit of "I wanted to do this on such an axis, but it does not allow." I also wanted to know the nuances for safety. - magic
  • > Много просто говорят про то, что терминал OS X не дает полной свободы в отличии от linux I think it is best to ask in such cases those who say that they mean? - installero
  • It was about old hollivarah on Habré, StackExchange and did not want to engage in necromancy, so I decided to ask a separate question - besides, what suddenly changed in the 15th year? - magic