N
NeoNitric
Guest
What lanugage is Mac OS X written in?
Probably sounds like a noobie question, but im interested to know.
NeoNitric
Probably sounds like a noobie question, but im interested to know.
NeoNitric
Graphite said:UNIX is its own language. I think mac osx would be written in something more powerful than C.
Avalon said:C is complicated, yet very powerfull, and a couple of OSes, if not most of them, have been written in C. I don't know about which language was used for OS X, or UNIX, but the most powerfull (and complicated) language would be Assembler (pure machine code).
Nowadays, not a lot people can write Assembler anymore, as it is very complicated and difficult. Nevertheless, Assembler-programs run faster then any other language.
If you download the Darwin source code from Apple, you'll end up with a bunch of .c files.In 1973, the decision was made to re-write UNIX in the C programming language. The change meant that UNIX could later easily be modified to work on other machines (thus becoming portable), and other variations could be created by other developers. The code was now more concise and compact, leading to an acceleration in the development of UNIX. AT&T made UNIX available to universities and commercial firms, as well as the United States government under licenses.
Unix is many things, but it's not a language. You may be thinking of Unix shell scripts, which do have their own language, but this is one that's interpreted by the shell.Graphite said:UNIX is its own language....
Only if the programmer knows what he or she is doing. These days, compiler optimization is very sophisticated, and often ends up producing better optimized code than what the average human programmer could put together in assembly.Avalon said:Assembler-programs run faster then any other language.
technologist said:Unix is many things, but it's not a language. You may be thinking of Unix shell scripts, which do have their own language, but this is one that's interpreted by the shell.
Only if the programmer knows what he or she is doing. These days, compiler optimization is very sophisticated, and often ends up producing better optimized code than what the average human programmer could put together in assembly.
technologist said:Only if the programmer knows what he or she is doing. These days, compiler optimization is very sophisticated, and often ends up producing better optimized code than what the average human programmer could put together in assembly.