View Full Version : where to start programming for linux?
freemanen
January 7th, 2006, 07:19 PM
I have learned c and java, but know I would like to make program in linux, but there to start? I would like something that it easy to learn and and works well with opengl. I would like to be esay to translate into other language.
chimera
January 7th, 2006, 07:23 PM
I don't know about opengl, but seeing as how you know c I'd recommend you to learn C++, there's not much new to learn that way.
ardchoille
January 7th, 2006, 07:23 PM
I use Python and PyGTK for my programming needs.. will probably learn other languages someday. Here are some of my bookmarks for Python:
http://www.python.org/doc/current/tut/tut.html
http://honors.montana.edu/~jjc/easytut/easytut/
http://www.ibiblio.org/obp/thinkCSpy/
http://www.pygtk.org/pygtk2tutorial/
http://www.async.com.br/faq/pygtk/index.py?req=index
I hope this helps :)
thumper
January 7th, 2006, 08:48 PM
I don't know about opengl, but seeing as how you know c I'd recommend you to learn C++, there's not much new to learn that way.
How do you figure that? C++ is completely different from both C and Java.
Personally, I'd suggest learning python. Easy to write, read, and get very quick results.
cwaldbieser
January 7th, 2006, 09:14 PM
How do you figure that? C++ is completely different from both C and Java.
I think he means the syntax is similar. When someone starts out with a new language, a completely different syntax can be somewhat frustrating. At work we have some folks who hate switching back and forth between vbscript and javascript because the the syntax differences ("hmm... do I need to use parentheses around the expression in this for loop now?") .
You are right that idioms in those languages are fairly different, though.
rydow
January 9th, 2006, 06:20 PM
Buy yourself the book "Beginning Linux Programming" from wrox press.
It is geared towards c but also presents perl tcl and other langs. It is a book that gets under the hood of linux.
/J
LordHunter317
January 9th, 2006, 06:59 PM
I don't know about opengl, but seeing as how you know c I'd recommend you to learn C++, there's not much new to learn that way.Actually, there's tons of new stuff to learn, as it's a totally different language.
The only carryover is some syntax, and that's not really enough to be meaningful.
If you want to learn OpenGL, there are tutorials online. I can't speak to more than that. Knowning C++ will not help you tons as OpenGL is primarily a C API.
I hope you can write X, and are comfortable with at least one toolkit, as well as low-level X programming.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.