Thursday, July 30, 2009

What are some purposes for programming languages?

I'm into programming for Flash games because I know exactly what my code is supposed to do in relation to objects on the screen.





But what are some uses for other languages like C++, Java, Perl, Ruby, etc.. Are they meant for internet applications, or just computing things. I'm just unclear about this.

What are some purposes for programming languages?
Some languages are restricted to only the web, but no language is isolated from the web. If you want you can use C++ or standard C or even COBOL for web programming, but normal people don't, and why would you when better languages exist anyway?





Flash, Javascript, HTML, CSS are all client side languages that allow you to send a document and have it run on the client computer, (ie the USERS machine).





Now the other languages (the ones ending in P, JSP, ASP, PHP), let the user send you DATA and the SERVER, processes the DATA and replies with a custom result.





C++ is mainly used for destop applications (like Internet Explorer. Java pretty much does everything. Java is not exactly compiled, but interpreted by the Java Virtual Machine, which then enteracts with the Operating system throught system calls.
Reply:C, C++ and Java are used for systems level programming.





Java is used for plenty of other things.





Java is used for applications that are standalone as well as applications that can be used over the internet. The J2EE or Java 2 Enterprise Edition is used to create complex applications. Java is used in web services, web technologies, and huge enterprise wide applications. It is also used for applications on mobile devices like PDAs.





Javascript is used for client side scripting of a web application. It is mainly used for validation of forms.





Perl, Ruby, PHP are used for scripting purposes.





.NET is Microsoft technologies for creating enterprise wide applications. It is not as powerful as Java related technologies.





Flash is just used for simple animation/design purposes. The other programming languages mentioned above are used for developing powerful, complex applications.
Reply:Depends on the language...C++ for example is used for creating windows applications as well as working with hardware....Java is used for alot of internet content as well as desktop content, oh and thers lots of java bases games on phones now...never heard of Ruby, Perl though I remember was one of the first serverside processing languages used for decision making on websites...it could do alot of different things..





Basicly they all break down to machine code , and the language makes it easier to work with as opposed to trying to type in a bunch of 1s and 0s
Reply:C++ is an unmanaged code language, used mainly for core code in applications (i.e Windows)





C# and VB.net are Managed code languages, these can be used for WinForm applications, as well as ASP.Net (web) applications.





Java can be used for WinForm and Web Apps





Ruby is a Web App language





Most can be used for most things, however Flash is not a Language as such, and more a scripting engine.





Oh and I dont want to get into a Java is better than .Net, but .Net is equally if not more powerful than Java, and can even run on Linux using Mono.


No comments:

Post a Comment