LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-11-2004, 11:15 AM   #16
Cruxus
Member
 
Registered: Aug 2003
Location: St. Louis, Missouri
Distribution: Debian 3.0r1 (2.4.18-5 i686)
Posts: 104

Rep: Reputation: 21

I recommend continuing learning C++. You should try to learn the major aspects of the Standard C++ Library and then you can start working with windowing frameworks.
 
Old 02-11-2004, 12:19 PM   #17
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
cweb255:

I just thought I would tell you my opinion, on the Python is better then C question, as somebody who is very proficient in C and just started working with Python.

I think Python is great for writing applications in. Though I will probably still use C++ for graphical parts of applications because I like Qt/Qt-embedded. I also think Python would make a great learning language because the syntax is friendly and it could be useful for teaching OO principals (and it isn't a pig like Java).

However, I certainly don't think Python is a replacement for C. C is still what I will use for all my embedded software, and for kernel modules. Python isn't the type of language you could build an OS in and I am guessing getting Python's interpriter to compile with uc-libc could pose to be difficult.
 
Old 02-11-2004, 02:39 PM   #18
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
I know these weren't directed at me, but I'm responding anyway.

Quote:
Originally posted by jtshaw I think Python is great for writing applications in. Though I will probably still use C++ for graphical parts of applications because I like Qt/Qt-embedded.
Python has QT bindings too, you know. Though on many embedded platforms, Python would not be a wise choice (more below).

Quote:
However, I certainly don't think Python is a replacement for C. C is still what I will use for all my embedded software, and for kernel modules. Python isn't the type of language you could build an OS in and I am guessing getting Python's interpriter to compile with uc-libc could pose to be difficult. [/B]
Right. Python was never intended to be a replacement for C. It's coded in C Actually, there is a project for implementing Python in Python (PyPython as opposed to CPython), but that's more of a "fun" thing than a practical thing (though it does have its uses). But every experienced Python programmer knows that one of the best things about Python is that thanks to things like Pyrex, you can rewrite your slow code in C and then use those functions in Python. Lather (profile), rinse (examine slow portions, rewrite in C), repeat (until performance meets necessary standards).
 
Old 02-11-2004, 02:58 PM   #19
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Strike, just so you know I certainly wasn't trying to be critical of Python, and I'll definitly look into those Qt bindings.
 
Old 02-11-2004, 04:35 PM   #20
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Yeah, I didn't think you were trying to be critical of python It's all good
 
Old 02-11-2004, 09:40 PM   #21
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Rep: Reputation: 30
Beginner or no beginner... shouldn't it really depend on what you plan on coding?
I mean, I've talked to alot of ppl who say they want to learn to code as a beginner, but you have to have some purpose or direction. Otherwise, why bother? There most likely is already a proggie out there that we've already slung together... well roughly.

Anywho, I just thot I'd throw that in. My boss asked me the same thing today right before i saw this thread and he started probing me about what I leanred first and so fourth.

So, long story still long, I'd recommend C. It is pretty as powerfuly as you could want, but again depending on what you want to code... I'm runnin in circles now.

L8rz
 
Old 02-11-2004, 09:44 PM   #22
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I would like to second the opinion, that when moving to linux, learning bash is a must. Pearl scripts are also commonly used in linux, such as the installation programs that the distros use. If you want to get your feet wet programming some games, you might want to look into one of the earlier versions of blender. This program has a game engine and will run on linux or windows machines. If you decide to give this a go, you may want to learn python.
 
  


Reply



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 05:16 AM
Beginning Kernel Programming -- where to start? koodoo Programming 7 11-17-2005 01:08 PM
Beginning programming mikeymorgan Programming 38 06-28-2005 07:59 AM
just beginning c programming mcd Programming 12 02-24-2005 05:06 PM
Simple graphical linux programming language? Nerd2 Linux - Software 4 05-03-2003 07:12 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:17 AM.

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