@dna : ~>uptime
3:07pm up 570 days, 22:54, 1 user, load average: 0.45, 0.12, 0.04
@dna : ~>uname -a
Linux dna.xxx 2.4.3-12 #1 Fri Jun 8 13:20:17 EDT 2001 alpha unknown
It is an alpha box used as a web/mail/file server + running some research tools...I would hate to have to reboot it.
C is a must when performance is of big importance. If the program structure and APIs within the program modules are designed properly and in a clean way, I don't think it is much more difficult to maintain and improve on the code.
A "mixed" C/C++ approach is probably worthwhile using when the program has extensive GUI requirements and performance is still top requirement. Use C++ for the GUI (qt, wxWindows or whatever gui library you like) but for the performance critical parts and the algorithms that are in the heart of the program just use plain C under simple C++ class wrappers if at all (no abstract classes, overloading, etc.). Personally, I have found this approach quite useful.
@dna : ~>uptime 3:07pm up 570 days, 22:54, 1 user, load average: 0.45, 0.12, 0.04 @dna : ~>uname -a Linux dna.xxx 2.4.3-12 #1 Fri Jun 8 13:20:17 EDT 2001 alpha unknown It is an alpha box used as a web/mail/file server + running some research tools...I would hate to have to reboot it.
C is a must when performance is of big importance. If the program structure and APIs within the program modules are designed properly and in a clean way, I don't think it is much more difficult to maintain and improve on the code.
A "mixed" C/C++ approach is probably worthwhile using when the program has extensive GUI requirements and performance is still top requirement. Use C++ for the GUI (qt, wxWindows or whatever gui library you like) but for the performance critical parts and the algorithms that are in the heart of the program just use plain C under simple C++ class wrappers if at all (no abstract classes, overloading, etc.). Personally, I have found this approach quite useful.