DIGIT-ARC read-only archive · snapshot: July 23, 2026

in which language is LINUX coded?

20 posts · originally from https://geek.digit.in/community/threads/in-which-language-is-linux-coded.13704/

iinfi
iinfi Original post #1
Aug 7, 2005 at 11:12 AM
there are a number of Linux distributions in the market today!
in which language is Linux OS coded? how do developers code the enhancements to the OS ? frm where is the source code available?

is it all done jus using C and C++?? what abt the networking part coding ... can it also be done using C and C++
escape7
escape7 #2
Aug 7, 2005 at 11:23 AM
As far as i know, Linux is coded in Unix...
E
enjoy #3
Aug 7, 2005 at 11:26 AM
Its GNU C I guess
U
ujjwal #4
Aug 7, 2005 at 11:28 AM
C, get the source code from www.kernel.org to see how its done.
tuxfan
tuxfan #5
Aug 7, 2005 at 12:46 PM
escape7 said:
As far as i know, Linux is coded in Unix...
You are wrong sir. Linux (or rather GNU/Linux) and Unix are both Operating Systems.

Linux kernel is coded in C as ujjwal has pointed out.
iinfi
iinfi #6
Aug 7, 2005 at 12:53 PM
both unix and linux can be networked and connected to the net ... for that network coding is required !!

can that be done in using C ??

and what is GNU C?? how different is that frm turbo C coding which we normally do??
escape7
escape7 #7
Aug 7, 2005 at 1:36 PM
tuxfan said:
escape7 said:
As far as i know, Linux is coded in Unix...
You are wrong sir. Linux (or rather GNU/Linux) and Unix are both Operating Systems.

Linux kernel is coded in C as ujjwal has pointed out.

:oops: I read somewhere that the source code is same for both...is it correct?
N
Aug 7, 2005 at 6:26 PM
Linux and unix are both coded in C.: )
And I think Windows is also codded in C :?:
QwertyManiac
Aug 7, 2005 at 6:29 PM
yep windows was coded 1st in c++ only, under unix...

I wonder that the current linux is also coded in c or is it c++ or python or perl or lisp or java or all of them mixed ?
vandit
vandit #10
Aug 7, 2005 at 7:20 PM
According to me linus trovalds coded it in C under minix OS... :roll:
iinfi
iinfi #11
Aug 7, 2005 at 11:48 PM
thanks for the info ....
tuxfan
tuxfan #12
Aug 8, 2005 at 12:39 PM
iinfi said:
what is GNU C?? how different is that frm turbo C coding which we normally do??
GNU C and Turbo C are both C compilers. There will be minor variations as regards some functions, libraries, etc. But ultimately both are C compilers so got to be at least 90% same. Never used GNU C.

GNU C is available for free from *www.gnu.org. But if you use GNU C and its libraries, you have to release your software under GNU/GPL license i.e. you have to also release your source code and let someone copy, reuse, improve, etc.

escape7 said:
I read somewhere that the source code is same for both...is it correct?
You are touching delicate strings by making such statements :lol: IMHO there are differences in UNIX and Linux and they neither are same nor have same source code.

SCO has sued IBM and some others claiming that these companies have used UNIX source code in Linux and thereby violated their copyright.

You can get lots of articles on that law suit here
N
Aug 8, 2005 at 9:21 PM
ummm..So C is the ultimate language. I wonder if any language is going to take over C.
iinfi
iinfi #14
Aug 8, 2005 at 11:51 PM
netcracker said:
ummm..So C is the ultimate language. I wonder if any language is going to take over C.

can VC++.NET replace C ????
GNUrag
GNUrag #15
Aug 9, 2005 at 12:49 AM
iinfi said:
can VC++.NET replace C ????
lol..
C is C.. and C will always be C..
All these plus and nets wont make C any different.

For lawsuites on IBM, Novell, AT&T and others, head over straight to *www.groklaw.net/
This site aims to keep track of various legal developments happening in Free Software world. It doubles up as a reference database to find out how much these money hungry companies have tormented the free software community.

@tuxfan you know a bit of law, and can make sense out of the contents of gorklaw.
N
nirubhai #16
Aug 9, 2005 at 1:06 AM
different languages have different applications.
same language can not be used for all purposes.
yet, C has been so powerfull and popular that no language till now is able to actually replace it.

but, in todays world easier, higher level languages (vb, c#, java, scripting) are preferred over the lower (assembly) or the middle (C) level languages.
most of the higher level languages inherit features and syntax from C

any language that can interact directly with hardware can be used to write OS.
C has best skillset for that. normally you won't any OS written in single language.... for the reason mentioned in 1st sentence.

have a nice time.....
infra_red_dude
Aug 9, 2005 at 1:11 AM
C is the king of all languages! learn C and any lingo will be a lot easier to understand! afaik unix and C were developed side by side by dennis ritche, rite?

also yes, linux was coded on minx. but then minix is an os. not sure wot compiler was used for linux. i think the kernel was coded in C under that os. correct me if i am wrong.
T
Aug 13, 2005 at 8:53 PM
iinfi said:
netcracker said:
ummm..So C is the ultimate language. I wonder if any language is going to take over C.

can VC++.NET replace C ????

U kiddin?

CPP.NET and c# are something, microsoft has invented for $$$.

They're not gonna replace C.
iinfi
iinfi #19
Aug 14, 2005 at 12:08 AM
c is the mother of all languages .... i v been hearing this and know this for quite some time now....
but there is a lota hype abt this .net and VC++ and so on .... so jus asked this forum members what ur opinion is ...

thanks for ur answers .... i got the reply ....
C
Aug 14, 2005 at 2:07 AM
c will always be there.
entire linux kernel is in pure c.