logo

Comparative Programming Language

   

Added on  2022-12-30

11 Pages3245 Words49 Views
Running head: COMPARATIVE PROGRAMING LANGUAGE
COMPARATIVE PROGRAMING LANGUAGE
Name of the Student
Name of the University
Author Note
Comparative Programming Language_1
1COMPARATIVE PROGRAMING LANGUAGE
Introduction
The programming language that can be used for mobile application development is
Mango (Acerbis et al., 2015). This language has lots of facilities that the other programming
languages (such as Java, Python and many others) have.
This essay discusses the properties of Mango programming language that can be used for
mobile application development (Ahmed et al., 2015).It discusses about the management of
memory, scoping features and the interpretation and the compilation methods that can be used
for the mobile app development. . Several features include Simplicity, Orthogonality, data types
and many others (Ahmed et al., 2015). This essay discusses readability, writability and the
reliability of this kind of programming language.
Discussion
This programming language will use the property of compilation. This language can be
called as the compiled programming language. A compiler is a program that changes a high-level
code into a machine code that is easy for the system to understand. The compilation is the first
stage of execution of a program. There are different types of compiler that are available for
different tasks. For the development of application, Mango needs high-level compilers such as
the just-in-time compilers, source-to-source compilers or byte code compilers. In Mango,
compiler is chosen over interpreter because compilers are faster and the time that is needed to
execute a program is less. But an interpreter is slower and execution time is also more. Compiler
has yet another benefit. It can see the entire code and does a lot of code optimizations that makes
Comparative Programming Language_2
2COMPARATIVE PROGRAMING LANGUAGE
the code run faster. As the codes of the mobile app development will be complex, high-level
compilers can be used in Mango.
Memory management is very important for this Mango programming language for
mobile applications. Mango should itself manage the memory without the programmer’s
intervention. A garbage collector must be present in Mango that will clean the memory when not
needed. There should no leakage of memory in Mango. The allocation and de-allocation of
memory is a very critical task. Mango must have a garbage collector for memory allocation.
Mango should also have a heap memory and also a stack memory. The programmers should keep
in mind the leakage of memory. The leakage of memory lessens the performance of a
programming language and also reduces the amount of memory that is available. Mango will be
developed in a way such that it will not have any leakage of memory.
This language is using the static scoping feature. In this particular case, the variables of
this programming language are referred to as the top level of the environment of a mobile
application. Static scoping is also known as the lexical scoping. The scope of binding is also
known as the visibility of an entity. There is an advantage of using static scoping. It helps to
make the code look modular in nature. The programmers can understand the scope of the code
by looking at it.
The simplicity of this programming language is a very important feature of Mango.
Mango should be easy to read, use and lean and must be simple. The programmer must
understand the language properly. The simplicity of mango affects the readability of the
language. The languages that are easy to read are also easy to maintain. The compilers or the
Comparative Programming Language_3
3COMPARATIVE PROGRAMING LANGUAGE
interpreters for Mango will also be easy to develop. Too many features affect the readability of a
programming language.
The Orthogonality of this programming language is an outstanding feature of this
language. The meaning of the term Orthogonality is that, if developers do an activity for a single
time then it will not affect the other portion of the program in mobile application development.
In this language, there will a very little amount of primitive sets (Joorabchi, Mesbah & Kruchten,
2013). It can be added in a very small number of times for the designing controls of Mango.
Mango language is used to format data for mobile applications. This means that it is not context-
dependent. Consistency is an excellent feature of Mango. The important feature of Mango is that
it is symmetric (Koskinen, Pykäri & Mäntysalo, 2013). It is used to design the mobile application
that can be maintainable as well as modular in nature.
Several data types are available for Mango. The Boolean data type is used to store two
different kinds of values. These two values are false and true. It is responsible to define a flag. It
is used to keep two conditions, one is false and another one is true. It will preserve the data
having one bit of size. The byte data type is used to implement eight bit number. It is also
defining two’s complement of the integer. The value will be from -128 to +127. It indicates that
the lowest value will be -128. The highest value will be +127. The default value of byte will be
zero. This data type is used to reserve the bulk amount of arrays (Othman, Madani & Khan,
2013). This is a very important aspect. It will responsible for reserving the space. The reason for
this is that, this data type is four times smaller than integer data type. This data type can be used
in place of the integer data type (Ribeiro & da Silva, 2014). The short data type is very important
property for Mango. The size of this data type is sixteen bit. The integer data type will have
two’s complement form. The range of integer data type will be within -32768 to 32767. The
Comparative Programming Language_4

End of preview

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

Related Documents
Comparative Programming Language Report 2022
|11
|2300
|16

Comparative Programing Language Essay 2022
|14
|4572
|50

Language Design and Implementation
|11
|2414
|230

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

Comparative Programming Language | Report
|15
|3473
|15

Language Design and Implementation
|12
|2495
|268