00:02
Hello students, translating the java and python programs into the byte codes that runs on the virtual machine as opposite to compiling the c+ + program directly into the machine offers the several advantages and the disadvantages.
00:16
So let's explore some of its advantages of the byte codes and the virtual machine.
00:37
The first is its platform independent.
00:49
So its independence of the byte code and the virtual machine enables the platform independence.
00:56
Once the virtual machine is implemented for the specific platform, byte code compiled on one system can be executed on any other system with the comparatively virtual machine.
01:10
So this write anywhere principle is a key feature of the java and the python.
01:17
The next is the safety and the security.
01:27
As the byte code can be executed within the controlled environment provided by the virtual machine, so which helps to enhance the security and prevents the unauthorized access to underlying the system resources.
01:44
So this sandboxing reduces the risk of vulnerability such as the buffer overflow and also the memory cooperation.
01:56
The next is the portability.
02:02
Whereas the byte code is portable across the different architectures as long as the comparatively virtual machine exists for that architecture.
02:14
So this is especially useful when deploying the software on a variety of the devices from the servers to the embedded system.
02:23
As the next is the dynamic behavior.
02:33
So the virtual machine can provide the advanced dynamic behavior such as the garbage collection, dynamic class loading and the reflection.
02:44
So these features allow for the greater flexibility and easy of the development, making the languages like the java and the python well suitable for certain applications.
02:55
So with this, the next point we include is the language abstraction.
03:01
Where in a higher level of abstraction provided by the languages like the java and the python, they enable more productive development, like indicating the features like an automatic memory management and building expectation handling.
03:23
So now let's discuss some of its disadvantages of the bytecode and the virtual machine.
03:33
Of the bytecodes and the virtual machine.
03:44
So as first is we need to perform, it is about the performance overhead...