![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Professional Programmer
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 380
Rep Power: 3
![]() |
C# App Memory
I am just starting a C# application, and I haven’t add anything at all yet, and when I run just the basic form you start with, it's already taking around 8 MB of ram to run... why so much when the form has nothing on it? Does that sound right to you guys?
__________________
I am Addicted to Linux! |
|
|
|
|
|
#2 |
|
Professional Programmer
Join Date: Oct 2005
Location: Chitown
Posts: 422
Rep Power: 4
![]() |
Thats the cost of using the .NET platform. By using .NET you trade in some of the speed/resources for other things like faster development time.
|
|
|
|
|
|
#3 |
|
Professional Programmer
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 380
Rep Power: 3
![]() |
Very true. I could code the same thing using win32... but it would also take 20 times longer haha.
__________________
I am Addicted to Linux! |
|
|
|
|
|
#4 |
|
Expert Programmer
|
stick with the c++ man! C# does come in handy for small applications. Take my word for it... me and a friend developed a small application that got very large rather quick. Well we are now upgrading most of the computers in our department to run it properly. Its a 1.25 mb exe with 6 DLL's averaging at about 50-80k. Its crap! Should have been completely written in C++! We would have months of conversion problems if we wanted to attempt it. Anyway... C++!
__________________
"When in Rome, Do as the Romans Do" "Beauty is in the eye of the BEER holder" "Save your breath your going to need it for your blow up doll later" SearchLores.org |
|
|
|
|
|
#5 |
|
Professional Programmer
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 380
Rep Power: 3
![]() |
I have done a lot of C++ Win32 apps in my day, and I don't have time for that right now. This app isn't going to get very big anyways, and the time I will save outweighs the loss in performance. I am good at optimizing code if I find something is running too slow anyways.
__________________
I am Addicted to Linux! |
|
|
|
|
|
#6 | |
|
Hobbyist Programmer
|
Quote:
|
|
|
|
|
|
|
#7 |
|
Professional Programmer
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 380
Rep Power: 3
![]() |
It all depends on what you are programming. If you rely on the app’s performance then C++ is the way to go; if you are just trying to make something that looks awesome and performance is not #1 priority then C# may be the better option.
__________________
I am Addicted to Linux! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|