November 21, 2024, 11:08:21 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Linux scripting or programming??  (Read 15402 times)

taraj

  • Guest
Linux scripting or programming??
« on: November 14, 2003, 02:46:52 PM »
Hello all u!! Just happen to found this..  so one question came out of my mind..

I m thinking to learn few things in linux.. already comfortable with linux..
So.. my question is that...
If I want to go in programming feild of linux then where should i go..
Is that C or C++ ??

and hw linux scripting is different from Linux programming..
Need Advice..

Thank you! for u upcoming response..


------------------------------------
I m .. top .. i m  TARAJ

Offline neo

  • Linux Learner
  • ***
  • Posts: 125
    • http://www.investorsgain.com
Linux scripting or programming??
« Reply #1 on: November 14, 2003, 03:20:30 PM »
hi
i think c is a better option. if u compile the kernel it is all on c not c++ u can check it as it uses gcc not g++.
moreover it is beleived that codes on c are much faster as compared to that on c++, therefore all the drivers also ull find are on c. so in this sense i think c is a better option.

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
Linux scripting or programming??
« Reply #2 on: February 15, 2004, 05:25:07 AM »
From what i understand:

Linux programming and scripting is the same thing when u refer to linux only.

Scripts are written to ease ur life a bit on running programs u want it to be in linux.

But when u say u program linux. :) Then that's a world of difference.

Offline tuxfan

  • Linux Noob !
  • *
  • Posts: 20
Linux scripting or programming??
« Reply #3 on: July 22, 2004, 06:29:29 AM »
So what do you guys think is the better option of the following. Please give reasons for your choice.

1. C
2. C++
3. Java
4. Something else (please specify)

Want to start Linux Programming. I have done C under DOS and various other programming languages like COBOL, Clipper, FoxPro, Visual Basic, etc. So I am not new to programming, but I am somewhat new to Linux.

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
Linux scripting or programming??
« Reply #4 on: July 22, 2004, 08:28:04 AM »
I u wanna do hardware programming, u want speed, then should go for C/C++ but if u want u application to go for portability and large scale enterprise, use Java.

To learn scripting language go here:

http://steve-parker.org/sh/sh.shtml

For books, i encourage u to look for

"UNIX SHELL PROGRAMMING"
By "Stephen G. KOCHAN AND PATRICK H. WOOD"

Offline tuxfan

  • Linux Noob !
  • *
  • Posts: 20
Linux scripting or programming??
« Reply #5 on: July 23, 2004, 05:26:32 AM »
The main aim is to make applications (open source if possible) under linux that can be used commercially. For example, an accounting package, inventory control, etc. Since financial gain could be an issue portability to Windows also needs to be considered. Can C/C++ codes be easily migrated from Linux to Windows and vice versa just by using a different compiler? Is there are standard that must be followed for easy migration?

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
Linux scripting or programming??
« Reply #6 on: July 23, 2004, 05:47:00 AM »
In this case use JAVA, reduce and minimize the headache.

For C/C++ language, there might be a problem.