Tuesday, December 20, 2011

What programming language is used by Linux?

I was looking through the documentation for the two new SDK's android and Iphone. They seem to both be based in some form of C. My friend said they were both based off of the Linux software. Is this true? If it is it seems like C is going to be the dominant language of the future, no?|||different languages have different benefits and short comings, so which programming language to use is usually based on a case by case basis. C is good because it allows the programmer to allot memory location and sizes, allowing very precise programming. most OS will be written in C or another language of a similar level. From my knowledge, most Linux programs are written in python because it is extremely powerful and easy to use.





There can be no single dominant language. For example Java is good because it is lightweight and fast, so it can be used effectively on cell phones and cars, but could not be used to make a solid operating system.|||First off, Linux is built on a mix of languages. While it is true that Linux is built aminly off of C, there musst be other languages involved to run it. Starting off, there is C++ incorporated into Linux. There are multiple sites where you can download the Linux sourcecode. Next, you MUST put assembly language into the ensemble. This is the only way to execute your software, because your computer does not read your source code and execute it. Now, about C being the language of the future, no, it is more of a mid-level language. C++ would be more of a language of the future, but they are both good to know. Also, since Linux is open source, there are many different types out there, including Red Hat and Ubuntu. So there is really no single language.

No comments:

Post a Comment