Despite incredible advances in programming languages over the last 30 years, most serious systems programming is still done in C.Win.
Why is this? Because C gives the programmer more control and power over the code's execution than do other, higher-level languages like Java or even C++. Also, C typically has less runtime overhead than higher-level languages, which can translate into increased performance. Suppose you have a function that takes an integer and returns a double. In a strongly typed language, all you can do with this function is call it while passing an integer and treat the result as a double. Of course, you can do this in C. But you can also call it with no parameters, call it with 5 parameters, take the result and store it in an integer. Even better, you could treat the function as an array and read each instruction as an integer if you like. Or, you could call not the first instruction in the function, but maybe the second, or the third, or ... there is a reason why C is sometimes referred to as a "high-level assembly language".
Thursday, May 28, 2009
C Programming Win
I found this opening tidbit from one of the old Operating Systems class assignments (CSE 451):
Thursday, May 07, 2009
3DRealms is no more
Sadly, it appears that 3D Realms is over, ending one of the greatest companies in game development. Their games were an integral part of my childhood and were definitely at least partly responsible for me ultimately ending up majoring in computer science. I've played all these:
Now I'm 1 year away from graduation, and sadly, 3D Realms is no more.
- Duke Nukem 3D
- Rise of the Triad
- Duke Nukem: Manhattan Project
- Stargunner
- Shadow Warrior
Now I'm 1 year away from graduation, and sadly, 3D Realms is no more.
Subscribe to:
Posts (Atom)