View Single Post
  #6  
Old 06-23-2012, 12:32 AM
Lubian Lubian is offline
Orc


Join Date: Mar 2011
Posts: 30
Default

Quote:
Originally Posted by Lucky [You must be logged in to view images. Log in or Register.]
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.
Performance wise, probably every developer knows that the lower level C languages are going to be faster than C#. It's also pretty widely known that the simple C# programs use more memory, because they purposely didn't design for an empty exe; since if you needed something with a low memory footprint or something time critical you would use a lower level language. This should be of no surprise for anyone who knows what a high level or low level programming language is and the advantages and disadvantages between the two.

Quote:
Originally Posted by Lucky [You must be logged in to view images. Log in or Register.]
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.
I'm starting to think it's a waste of time even responding to you. You can clearly see the return type of ReadKey() from the IDE (it's a struct). I don't know why you would continue spewing misinformation after someone told you it might have been wrong, and the fact that it takes 1 second to validate.

I'll stop wasting my time here. Good luck with your thread and checking how much memory Hello World programs use in different languages.