What is Linux Platform Programming?

This is a discussion on What is Linux Platform Programming? within the Linux Programming forums, part of the Platform Specific Boards category; I've seen job ads that where the employer want Linux platform programming as a skill. I'm near certain they are ...

What is Linux Platform Programming?

I've seen job ads that where the employer want Linux platform programming as a skill. I'm near certain they are not referring to shell scripting. How is Linux programming different than Windows? Most of the code I compiled, and I think most of the code I see on this site, would compile just fine on either platform. What does this term mean?

I guess it could mean a lot of things. It could include shell scripting or knowledge of the linux/unix system calls.

How is Linux programming different than Windows? Most of the code I compiled, and I think most of the code I see on this site, would compile just fine on either platform. What does this term mean?

Code written according to the standards should compile without problems. At the lowest level you program an operating system by making use of it system calls. These are different for linux and windows. Standard compliant compilers provide a standard interface to these different systems so you can write portable code without having to take into consideration too much the differences between operating systems.

It probably refers to knowledge of, and experience with, Linux APIs, dealing with open source development license compatibility, system calls, interactions with common toolsets, leveraging common platform-specific libraries, et cetera.

Of course , programming on Linux and Windows is very different . I am learning C on Linux and I find the behaviour of the compilers very different . It's unlike Windows . The compiler would not recognise system("cls") command ; the system("pause") command and so on. Apart from that , the last time when I programmed in C++ on Windows the compiler quite humbly accepted <iostream.h> but in Linux it complains and prompts yu to use <iostream> .
Also linux kernel interrupts are different from DOS interrupts(int86).
If you are a novice programmer , then you have to go a long way learning Linux and C/C++.

Of course , programming on Linux and Windows is very different . I am learning C on Linux and I find the behaviour of the compilers very different . It's unlike Windows . The compiler would not recognise system("cls") command ; the system("pause") command and so on.

naturally, as system calls are operating system dependent.

Originally Posted by yashpal

Apart from that , the last time when I programmed in C++ on Windows the compiler quite humbly accepted <iostream.h> but in Linux it complains and prompts yu to use <iostream> .
Also linux kernel interrupts are different from DOS interrupts(int86).
If you are a novice programmer , then you have to go a long way learning Linux and C/C++.

linux and windows

there are different command for clear screen in linux dear read learn linux in 24 hrs from SAMS it gives detail of linux commands however some commands u can find on linux.org.in start from scratch or getting started....