I realy am shocked...I woke up early this morning and felt bored. So i began learning C++. I was looking at some basic code and i felt like a test to see JUST how bad the .Net is for memory. So i made a simple project and called it "Firstproject" this 1 was in C++.Net/CLR. The code i used below was the same piece for both programs.
Now i loaded that up and looked at my memory in task manager. Looked to find that 1 line of code was using 8MB!!!!!! i then loaded a new project (Win32/Standard C++) done the same piece of code in that. Loaded the program...it was using less then 1mb. Id realy love to know why .Net does take so much. I know it handles garbage collection and memory but on 1 line of code using 8mb is just CRAZY. I realy am going to continue learning C++ now and try a leave the .Net behind......
cout<<"Hello world";
Now i loaded that up and looked at my memory in task manager. Looked to find that 1 line of code was using 8MB!!!!!! i then loaded a new project (Win32/Standard C++) done the same piece of code in that. Loaded the program...it was using less then 1mb. Id realy love to know why .Net does take so much. I know it handles garbage collection and memory but on 1 line of code using 8mb is just CRAZY. I realy am going to continue learning C++ now and try a leave the .Net behind......