To view parent comment, click here.
To read all comments associated with this story, please click here.
But I don't know enough to say whether most of MS Office is written in high-level languages, or if it still uses venerable C++.
From what I understand the GUI of Office 2007 now uses Winforms 2.x rather than the native Window controls.
"""
To a certain extent that's true: A general-purpose application written in Python takes more resources to do a GUI output task than one coded directly in C.
"""
Keep in mind that the Python library doing the GUI output likely *is* written in C. Feel the power of the snake! ;-)
Many of one's common calls to Python libraries are calls to optimized C.
Keep in mind that the Python library doing the GUI output likely *is* written in C. Feel the power of the snake! ;-)
Many of one's common calls to Python libraries are calls to optimized C.
True, and maybe true to a certain extent for all high-level languages, but I'm not sure that it's relevant. Otherwise there would be no performance difference between Python and pure C. But Python needs to make many more C calls to do mathematical operations within a nested loop, for example, than hand-coded C would.
So to the extent that applications are now written in Python (or Ruby, or Perl) rather than C, you use more computer resources to run them.
My only point in this is that something along these lines might explain some of the larger size and lower relative performance of more recent applications, including Office, IF Office is using more high-level abstractions rather than simpler low-level calls.
It's not intended as a criticism, nor a knowledgeable pontification, only proposed as a possible explanation.




Member since:
2005-07-24
"it's not only because of lazy or bad programmers that bloat went up, it's often because of the reasoned choice for a framework or easier language."
To a certain extent that's true: A general-purpose application written in Python takes more resources to do a GUI output task than one coded directly in C.
But I don't know enough to say whether most of MS Office is written in high-level languages, or if it still uses venerable C++.