Paul
Paul

Reputation: 6737

Python development on Mac OS X: pure Mac OS or linux in virtualbox

I'm new to Mac, and I have OS X 10.9.1. The main question is whether it is better to create a virtual machine with Linux and do port forwarding or set all packages directly to the Mac OS and work with it directly? If I create a virtual machine, I'm not sure how it will affect the health of SSD and ease of development. On the other hand, I also do not know how to affect the stability and performance of Mac OS installation packages directly into it. Surely there are some best practices, but I do not know them.

Upvotes: 1

Views: 1157

Answers (2)

einnocent
einnocent

Reputation: 3964

On my Mac, I use Python and PyCharm and all the usual Unix tools, and I've always done just fine. Regard OS X as a Unix machine with a very nice GUI on top of it, because it basically is -- Mac OS X is POSIX-compliant, with BSD underpinnings. Why would you even consider doing VirtualBox'd Linux? Even if you don't want to relearn the hotkeys, PyCharm provides a non-OS X mapping, and in Terminal, CTRL and ALT work like you expect.

If you're used to developing on Windows but interfacing with Unix machines through Cygwin, you'll be happy to use Terminal, which is a normal bash shell and has (or can easily get through Homebrew) all the tools you're used to. Plus the slashes go the right way and line endings don't need conversion.

If you're used to developing on a Linux distro, you'll be happy with all the things that "just work" and let you move on with your life.

So in answer to your question, do straight Mac OS X. Working in a virtualized Linux environment imparts a cost and gains you nothing.

Upvotes: 3

Travis Griggs
Travis Griggs

Reputation: 22252

I do all of my main development on OSX. I deploy on a linux box. Pycharm (CE) is your friend.

Upvotes: 2

Related Questions