Jump to content

developing in a Mac


4 posts in this topic

Recommended Posts

Hello. This is my first post and I would appreciate if someone could help me.


First my situation: I have never developed for a mac. I have a mac at home (xcode , eclipse installed) that I use to basically relax. At work I develop on a PC lately using a virtual box running linux.


I have always been interested in starting developing using my Mac at home.


My current problem is: I am working on a very simple application at work using sockets, you know socket, bind, accept and this kind of functions (in C of course)


1)Can I use these socekts concept on a mac? How?


2) I have experience working on ObjectiveC (not on a mac) from many years ago, eventually I would like to do it again, but can I program in C only? Using what? Xcode I suppose


Please forgive me if I am rather ignorant in the mac world. And thanks for your help



Link to comment
Share on other sites

  • 2 weeks later...

KansaiRobot: Your sockets programming knowledge, gained from linux, should serve you just as well, while developing on a mac.   Beautiful part of Berkely Sockets is that "sockets" is very portable interface/library between all the 'nix.   And yes, I would definitely include OS X in that category of 'nix.   While the XCode and Apple Tools on Mac are very nice and feature rich, like everything worth while, it'll take a couple hours of "playing" with to get your bearings on where everything is, and how somethings are done differently when developing with Xcode.


Now, while I said you can program on OsX using a Berkely Sockets interface, there are other network programming interfaces that work equally well, but you might not be interested in those, if you already have momentum towards the Berkely Sockets (Linux Network programming style).

Link to comment
Share on other sites

to answer question number 2 , i think it's fair to say that you can always make any program in plain C since mac shipped with its own gcc / clang or you can always get homebrew to install several needed libraries of course.

as for the IDE for C you can use xcode , i've heard several guys using qt creator in mac to develop in plain C too, but i think both will be a complete overkill

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...