logo

Comparative Programming Language Report 2022

   

Added on  2022-09-16

11 Pages2300 Words16 Views
Running head: COMPARITIVE POGRAMMING LANGUAGE
COMPARITIVE PROGRAMMING LANGUAGE
Name of the Student
Name of the University
Author Note
Comparative Programming Language Report 2022_1
1COMPARITIVE PROGRAMMING LANGUAUGE
Introduction:
The main aim of the report is to design a programming language for the banking
domain like any other programming language; the programming language for the banking
domain should have the features like efficiency, platform independent and many more
features. The language that will be designed will help the banking sectors in their processes
and procedures without any hindrance. The performance, readability and the writability of the
programming language must be good and simple for the programmers to understand. The
programming language for the problem domain of banking is an object oriented language. It
will be easy for the programmer to do the coding in object-oriented language. The object-
oriented concepts will include abstraction, polymorphism, interface and the other features.
The programming language will be object-oriented. Object oriented languages are easy to
design as they are platform independent and complex programs can be done by creating
objects.
Interpretation and Compilation methods
The programming language for the problem of banking domain should have a
compiler and not an interpreter. The reason for that is compilers are faster than an interpreter
is. The code that will be written for the banking domain will be very complex (Chong,
Franklin & Martonosi,2017). A compiler is needed to translate those instructions into an
efficient machine code. The machine code is easier for the system to understand. The
interpreter executes the code in the source programming language. As, the code is very
complex it will be very difficult for the system to understand the source code. Therefore, a
compiler is required for the programming language of the banking domain and not an
interpreter (Rompf et al.,2014). A high-level compiler such as the Just-in-time compiler or a
Comparative Programming Language Report 2022_2
2COMPARITIVE PROGRAMMING LANGUAUGE
byte code compiler can be used in this programming language for the problem dominion of
banking.
Fig1: Compilation of Code
Memory management and scoping features
The management of memory is a process in which chunks of the memory are assigned
to different programs (Jones, Hosking & Moss,2016) . The language that will be developed
for the domain of banking can manage memory itself. The programmer does not need do the
management of memory himself. Important memory management feature of this
Comparative Programming Language Report 2022_3
3COMPARITIVE PROGRAMMING LANGUAUGE
programming will be the garbage collector that will destroy the objects according to the needs
of the programmer. The programming language for the banking domain will not have any
memory leakage. This language has the feature of in-built garbage collector that does the job
of automatic collection of garbage. Memory leakage happens in programming languages like
C and C++, as they do not have automatic collection of garbage. The memory leak generally
occurs when the memory that is allocated dynamically is unreachable. This situation will not
occur in this language.
Fig2: The memory management in programming language for banking.
The scopes of this language are of two types- dynamic scoping and static scoping.
Static scoping is also known as lexical scoping (Weston,2018). In static scoping, the
variable refers to its environment to its top level. It is a property of the text of the program.
Static scoping makes it easier for the programmer to know the scope by looking at the code.
It creates a code that is modular.
Comparative Programming Language Report 2022_4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Comparitive Programming Language Essay 2022
|15
|4161
|19

Comparative Programming Language
|11
|3245
|49

Comparative Programing Language Essay 2022
|14
|4572
|50

Comparative Programming Language | Report
|15
|3473
|15

2D pokemon jirachi: A Language Based on JAVA
|20
|4845
|38

Report on Comparative Programming Language 2022
|12
|3489
|38