LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-26-2010, 02:33 PM   #16
carbonfiber
Member
 
Registered: Sep 2009
Location: Sparta
Posts: 237

Rep: Reputation: 46

http://wiki.osdev.org/Category:Languages
 
Old 01-27-2010, 01:20 PM   #17
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,672
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
In the particular case of the kernel, one of the most fundamental reasons why C++ isn't used is that the language relies upon "runtime libraries," which do not exist in the kernel's world. (There is no such thing as glibc there.)

Nevertheless, the kernel is implemented using a high-level language ("C") with inline assembly. Only a very few, generally boot-time and generally CPU-specific, routines are actually "asm" files.

If you peek into the architecture of a system like gcc which supports many languages, one thing is quite interesting: only the first few top-level stages of the compiler are actually "language specific." Once the source file has been processed, the internal data structures which actually drive the compiler are standardized such that it literally doesn't matter (much) what language the program was written in!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration