Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
4 views
in Linux by (18.4k points)

I was just wondering who knows what programming languages Windows, Mac OS X, and Linux are made up of and what languages are used for each part of the OS (ie: Kernel, plug-in architecture, GUI components, etc).

I think there exist multiple languages for all and I know that this Linux kernel is written in C language.

I'm guessing here that Mac OS X contains a lot of Objective-C code as it is Apple's language derived from NeXT.

I think Windows contains C, C++, and Intel Assembly. Does the Linux or Mac OS contain an Assembly code?

Also, are there any scripting languages like Ruby, Python, etc used by these OS developers for scripting parts of each OS? What parts of this OS would be written in each language?

1 Answer

0 votes
by (36.8k points)
edited by
  • The Windows: C++, kernel is in the C
  • The Mac: Objective C, kernel is in the C (IO PnP subsystem is Embedded C++)
  • The Linux: Most things are in the language C, many userland apps are written in Python, KDE is all C++

All the kernels will always use some assembly code.

Want to be a Linux expert? Come and join this Linux course

Do check out the video below

Related questions

0 votes
1 answer
asked Jan 26, 2021 in Digital Marketing by dev_sk2311 (45k points)
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Dec 17, 2020 in Linux by blackindya (18.4k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...