Sunday, July 12, 2009

How does programming languages work. what language was visual c++ written in and how was it compiled??

I just wasnt to know really, I want to know how to write a program for electronics, and whether is possible to hand code it. what program was adobe photoshop written in, visual Studio, .net.it is so confusing? im already a visual basic expert, but i want to know how i could write professional programs like Adobe photoshop. do i need to learn machine language for this??

How does programming languages work. what language was visual c++ written in and how was it compiled??
Programming languages are made for human beings to have a conceptual framework for program execution. It allows us to follow program execution, while minimizing the overhead involved with routines a computer must do that do not concern the programmer.





A programming language can be compiled or interpreted. Compiling requires the source code to be converted into machine language and then run, while an interpreter executes the program as each instruction is interpreted. Both have their advantages and disadvantages.





When you say what Visual C++ was written in, you're really referring to the compiler. Even if you mean the user interface, it was probably written in C/C++. You could write professional programs by yourself, but they'd take you a very long time to finish depending on what you want it to do.





Something like Adobe Photoshop began as a much smaller project with not nearly as many features as it has today. In 1987, Thomas Knoll started it as a program to display grayscale images on a monochrome display; and even then it wasn't called Photoshop.





Whether or not you need to know machine language is really dependent on what problems you'll encounter. Graphics intense programs tend to be far more efficient the closer their processes interact with the hardware. Machine language isn't difficult, but is completely dependent on the hardware (instruction set of the processor) being used.





I will say, however, that knowing the hardware and instruction set is a tremendous help in making efficient code; which for graphics is a major plus.


No comments:

Post a Comment