Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-06-2004, 03:41 PM   #1
Registered: Jun 2003
Distribution: Slackware64 14.1 and -current
Posts: 209

Rep: Reputation: 30
Beginning Programming, What Language To Use For Linux

I was wonderding what language I should start with for developing software under Linux.

I do I have some Visual Basic and Visual C++ under my belt more Visual Basic than C++ but start with PERL?, C? I need some help
Old 02-06-2004, 03:44 PM   #2
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
C++ and C are pretty popular for linux programming. As is perl, python, and java. There are probably at least 30 threads on this topic so search through them and I am sure you'll find plenty of info.
Old 02-06-2004, 07:41 PM   #3
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 653

Rep: Reputation: 53
C looks tough at first......... but once you get started its a breeze

Last edited by shane25119; 02-06-2004 at 07:42 PM.
Old 02-06-2004, 08:07 PM   #4
LQ Newbie
Registered: Jun 2003
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
i recommend c....
Old 02-06-2004, 10:19 PM   #5
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Python. It is, without a doubt, vastly more useful to a beginner programmer than C.
Old 02-06-2004, 10:35 PM   #6
Senior Member
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
i was just looking into this myself (zero programming experience, though i want to learn), and i have to agree that python looks very promising.
Old 02-07-2004, 08:15 AM   #7
Registered: Dec 2003
Location: Denmark
Distribution: Mandrake
Posts: 179

Rep: Reputation: 30
That really depends, on what you want to do. For general programming C is best. for text scan perl is the best. for ultimate control (and millions of problems) use assambler(not recomanded for newbies)
Old 02-07-2004, 08:27 AM   #8
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 31
My suggestion is C++.

A good book is
Old 02-07-2004, 08:53 AM   #9
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
The irony of suggesting C++ and then suggesting "Thinking in C++" as a good book is that the author of that book himself would recommend Python as a first language and not C++.

Bruce Eckel interview, part 1
Bruce Eckel interview, part 2
Old 02-07-2004, 10:23 PM   #10
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
The only language that I understand relatively "well", again, relatively, since I'm not very good at it either, is C++. Been coding on it (or trying to...) for years now. I've done some Win programming, console programming, gtk programming, DirectX programming and a lot of OpenGL programming with C++. It's difficult, it can get tough sometimes. It has a lot of books, tutorials, forums and IRC channels available about it. I've not coded anything in C++ for about 8 months now and I decided to learn Java. It's just as difficult. Somethings are easier (Graphical Interfaces, since it's inbuilt in Java/Swing) other harder (way too much OO for a newcomer). I've tried Python, only for a week. I got really impressed with the amazing things it could be done with it. The syntax is very friendly for newcomers. I could write a small program using graphical interface with it (gtk API I think). A little more of work and I've found even a OpenGL/SDL extension for Python, called Pygame. Feels lines and I got the a SDL program up and running. Meaning that if I knew nothing about C, I could still program great 3D applications with an easy to maintain language. Unfortunately, I've been working and studying at the same time too much. Plus I've family. Meaning that I don't have so much time to do things outside of my schedule. But you bet I will give Python a better look when I have some spare time .
Old 02-09-2004, 06:43 PM   #11
Registered: Aug 2003
Distribution: Windows XP Professional SP2/SUSE Linux 10
Posts: 122

Rep: Reputation: 15
Hey Guys,

I HATE low level programming, but thats just me.

My recommendations, for a Linux user, are C++ and Java.

I started with Visual Basic, then learned Java, then Visual C#.Net and Visual Basic.Net. Now I've learned C++.

(Sorry about this guys, but my programming abilities in Windows greatly outweigh those I have in Linux, and the IDE's for Windows are 1000x better.

I user Miscosoft Visual Studio.Net Enterprise Architect edition and Borland Java 9, but there are better Java platforms out there.

C++ and Java are for any operating system, weather it be Linux, Mac, or the dreaded Windows.

I say stay away from C, its not OOP. I'm all for OOP. Then again if you learn C++, you pretty much know C!

Thanks Guys
Old 02-09-2004, 07:11 PM   #12
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
There aren't a whole lot of great IDE's out there for linux because most people who program linux software don't use IDE's. The fact is there is a great compiler (gcc), a great debugger (gdb), and a billion great text editors. If you want to give python a try (I have been messing with it for about 5 days now and I am liking it so far) you can use the pdb debugger module. If you want to do visual apps in something like Qt you can pull up Qt designer to visually layout windows, I am sure there are tools like that for GTK as well.

I am not sure what else there could be to want. I personally hate things that pop up bubbles or try and complete my text for me, they annoy me. Most of the windows IDE's contain really crappy text editors with terrible feature sets and terrible short cut keys (why should you need a mouse to write code?).

I guess I would rather use a few separate programs that work perfectly then be forced into using a IDE app that almost always falls short in at least one respect.
Old 02-09-2004, 10:19 PM   #13
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,706
Blog Entries: 4

Rep: Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030
There are lots of programming languages that you should look at. Python might be first. Also look at Perl. The AWK tool is really nifty for working with text files. PHP's a fine web-language and useful too for scripting. When you get into programming proper, C and C++ are de facto, with both Qt and Glade available for designing GUIs quickly.

And there are a couple three dozen other tools at your beck and call too.

Truth is, when you step into Linux you step into the real world of computer programming, where there is not "just one way" and "just one vendor," and nobody's got the crass to even begin to suggest otherwise. It's quite refreshing, really.

Unix really was designed by "rocket scientists!"
Old 02-11-2004, 05:32 AM   #14
Chris Weimer
Registered: Jan 2004
Location: NYC
Distribution: Fedora 25 XFCE
Posts: 91

Rep: Reputation: Disabled
Originally posted by sergeantroach
I say stay away from C, its not OOP. I'm all for OOP. Then again if you learn C++, you pretty much know C!
I don't know if I would agree with that. I started learning C++ first, and when I got to even basic C funtions, I automatically had to default to more tedious C++ ways of doing things. They seem easier at first, but the point I'm making is that it is not "learn C++, know C" it is "learn C++, learn C." Though most of the syntax is the same, that's the way it is for a lot of C-styled languages including Perl and Java, though some would argue that Java is entirely original.

As for starting out, the poster said he was fairly proficient with VC++, so I would assume that C or C++ would be ideal for tinkering with Linux. Python, on the other hand, I haven't worked with, and if I had, I might recommend otherwise from all the positive attributes it has been given by afficionados. When I get around to learning it, I'll tell you if it is better or not than C. As for now, I hear the main fault being not as versatile as C, the same problem given to VB. Who knows until you've tried it out.
Old 02-11-2004, 10:47 AM   #15
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551

Rep: Reputation: 38
If your going to do something with linux you also nead bash or shell scripts. I would start there.

I like java since its oo and pure. Now I work with c/c++ and the syntax is confusing nowing java, pascal, lisp, basic etc but I se the potential and its a lot of free stuff out there.

god luck


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
which programming language is used to do tcp/ip programming?? gajaykrishnan Linux - Networking 9 12-21-2012 06:16 AM
Beginning Kernel Programming -- where to start? koodoo Programming 7 11-17-2005 02:08 PM
Beginning programming mikeymorgan Programming 38 06-28-2005 08:59 AM
just beginning c programming mcd Programming 12 02-24-2005 06:06 PM
Simple graphical linux programming language? Nerd2 Linux - Software 4 05-03-2003 08:12 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration