Thursday, November 14, 2019
Programming Languages Essay -- essays research papers
Programming Languages A programming language is a set of English-like instructions that includes a set of rules for putting the instructions together to create commands. A translator changes the English-like commands into numeric code that the computer can understand. The most common type of translator is a compiler. The compiler is program that reads English-like commands in a file and than creates another file containing computer readable numeric code or commands. I will be talking about some of the major functions and uses six high-level programming languages. à à à à à Java was developed by Sun MicroSystems and released in 1995. Java is based on C and C++ and incorporates many features object-oriented languages. It is a compiled language, but itââ¬â¢s code output is interpreted. This makes Java ideal for cross-development. The downside to its interpreted code is speed. Javaââ¬â¢s object-oriented is fundamental, and all code and data in a Java program exist within the object-oriented class. Javaââ¬â¢s exception handiling with try, catch, and throw statements provide the solution for writing reliable code that responds to all possible error conditions. Another advantage of Java is a String class that does away with null-terminated, length byte and other types of strings. It is also multithreaded which a class can easily provide code that runs concurrently with other programing. Another advantage is the lack of a pointer-type data and memory management which tends to be a very bug-prone area. Memory is organized by Javaâ⠬â¢s virtual machine garbage collector. Java provides a rich class library in beavery bug-prone area. Memory is organized by Javaââ¬â¢s virtual machine garbage collector. Java provides a rich class library in the forms of packages imported into modules. Since Java is interpreted locally on the userââ¬â¢s system, a security manager can completely control disk access, window creation, and memory management. C was developed by Dennis Ritchie at Bell Labortories in 1972. C was originally designed as symbolic code that formalized programming prasctices used at the time. In 1978 C blossomed into what was to become the most popular programming language ever. C offers programmers three advantages: The first is general pourpose programming which allows you to write games, business software, utilities, mathematical models, wordprocessors, spredsheets,... ...equence. Cobol has a certain minimum amount of code that is required for all programs, this is usually called a shell program. Delphi is a Rapid Application progarm which now progrrammers can use tools which are more intuitive and visual. Delphi uses Object Pascal as its foundation language, which has been one of the fastest compilers in the business. Also object-based extensions has been added to the language to support good programming practices and efficent code. Delphi is capeble of using OCX controls, which is a 32-bit OLE-based custom control. Delphi also allows you to create OLE automation servers and clients. These automation objects give you the flexibility of creating programs that perform tasks in the backround and put the results back to your application. Anoter advantage for Delphi is the ability to write multi-threaaded applications. In a multi-tasking enviorment thi is important, as your applications become more comple, it is necessary to execute your applications in seprate pieces, which are called threads. In conclusion, the following was an overview of six high level languages. Many are similar, but there are very distinct features and advantages to each language
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.