Of course I knew there would be criticism of comparing hello world applications, but I sincerely doubt C# will perform any better when dealing with generic containers compared to C++ STL which inlines to C.
Perhaps it is unfair as .NET is a framework, so I will compare it to Qt.
PHP Code:
// Qt C++
// 960k
#include <QtCore/QCoreApplication>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
std::cout << "hello world";
std::cin.get();
return a.exec();
}
I didn't say anything about Windows 8.
Quote:
|
Originally Posted by Wiki
Midori is the code name for a managed code operating system being developed by Microsoft Research. It has been reported[1][2] to be a possible commercial implementation of the Singularity operating system, a research project started in 2003 to build a highly-dependable operating system in which the kernel, device drivers, and applications are all written in managed code. Microsoft has mapped out several possible migration paths from Windows to Midori (referred to as "Windows.Next").[5][6][7]
|
The namespace was unnecessary I'll agree, but not something which would have effected the compiler. From my understanding, ReadKey() is more-o'er-less similar to a single getchar() and std.cin() beyond the fact that return doesn't need to be pressed.