![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
|
Question about GUIs
Are the Interfaces for programs such as AVG, Photoshop, Microsoft Word, Ventrilo etc. written in C++? That seems rather time consuming when you could write them in VB.net and then just implement C++? is that possible? I'd just like to get a better understanding of how programs like that are written. Do they use multiple languages?
EDIT: If theres anyone who is a professional programmer and has AIM or any other messaging service I have 1000's of questions to ask. Last edited by IisNoob; Apr 10th, 2008 at 10:30 PM. |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Oct 2006
Posts: 204
Rep Power: 2
![]() |
Re: Question about GUIs
Most of the Windows XP interface is apparently written in C, which is strange to me. And a lot of GUIs in Cpp
|
|
|
|
|
|
#3 |
|
Newbie
|
Re: Question about GUIs
same here whats the advantage of using C?
__________________
Measuring programming progress by lines of code is like measuring aircraft building progress by weight.-Bill Gates |
|
|
|
|
|
#4 |
|
PFO God In Training
![]() Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 532
Rep Power: 4
![]() |
Re: Question about GUIs
win32 api functions are all considered low-level functions and were written in C, and possibly some assembly because it can be called from most programming languages, while C++ can not. Some of the internals may be c++, but none of the win32 api functions are. Microsoft Word project was started before Win95 and was initially all written in C language. I don't know what's happened to it since then but I suspect most of it is still in C.
>>same here whats the advantage of using C? Its tighter and smaller than c++ programs. When space (RAM) is critical then use C because C compilers produce smaller code and often more efficient. Of course that also depends on the compiler, some compilers produce better code than other compilers. If there is lots of RAM to work with and speed is not all that important then use C++ or some other languages such as VB.
__________________
I Like Ike. Vote for Dwight Eisenhower this November. --This message brought to you by the the Procrastinators Club Of America. |
|
|
|
|
|
#5 |
|
Programmer
Join Date: Nov 2007
Posts: 86
Rep Power: 1
![]() |
Re: Question about GUIs
if you want to learn about the APIs for those programs and you are working on windows, then you need to learn about COM. i can only really speak from experience about word. it is composed of thousands of COM objects. they can be accessed from any COM compliant language. this means that several languages were probably used to create the interfaces for these programs. i would bet that mostly c++ and vb6 were used in the past, and .net is used more now.
|
|
|
|
|
|
#6 |
|
Newbie
Join Date: Jan 2008
Posts: 10
Rep Power: 0
![]() |
Re: Question about GUIs
A lot of larger applications use pre-built frameworks for their GUIs. For example, I know Adobe uses QT for photoshop, and I hear it's becoming more popular. A lot of open source applications use the GTK (but not sure if that's an actual GUI framework or what...) However, that being said it's always useful to learn and understand the underlying system code, in case you ever find yourself having to debug an error in the framework.
Just my 2 cents ![]() |
|
|
|
|
|
#7 |
|
Professional Programmer
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3
![]() |
Re: Question about GUIs
I am pretty sure photoshop proper is *not* written in QT. The only thing I can find about like that a photoshop derived product was written with QT. I think the first version of Photoshop was released even before QT released and it was a Mac only program then.
You will find many older applications written in C++ have there own GUI frameworks they built along with way. The windows office team has there own C++ widget toolkit, and the same goes for Adobe. C++ is/was chosen for its portability and speed, both areas .NET lags C++ in. It can also be hard to interface C++ with managed languages on the .NET platform, so people chose to keep everything in C++.
__________________
Robotics @ Maryland AUV Team - Software Lead |
|
|
|
|
|
#8 | |
|
Newbie
Join Date: Jan 2008
Posts: 10
Rep Power: 0
![]() |
Re: Question about GUIs
Quote:
![]() |
|
|
|
|
|
|
#9 | |
|
Hobbyist Programmer
Join Date: Jan 2006
Location: Menidi, Athens, Greece
Posts: 239
Rep Power: 3
![]() |
Re: Question about GUIs
Quote:
__________________
Project::Soulstorm (personal homepage) |
|
|
|
|
|
|
#10 |
|
Expert Programmer
|
Re: Question about GUIs
Adobe has already announced that they are in the process of porting Photoshop to Cocoa, but the next version will be 32-bit only for mac because of Apple's decision to pull the plug on 64-bit Carbon.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| question regarding GUI factory. | rwm | C++ | 3 | Aug 17th, 2007 8:58 AM |
| Visual Basic 2005 Question | ReubenK | Visual Basic .NET | 3 | Apr 5th, 2006 3:23 PM |
| How to post a question | nnxion | C++ | 10 | Jun 3rd, 2005 11:53 AM |
| How to post a question | nnxion | C++ | 0 | Jun 3rd, 2005 8:55 AM |
| How to post a question | nnxion | C | 0 | Jun 3rd, 2005 8:55 AM |