Cicak Bin Kadal
Top 10 List of Week 04
Widyanto --- Indonesia

Top 10 List of Week 04

  1. Hardware Protection
    In this blog, it explains about hardware protection. The operating system have to ensure that incorrect program cant cause other program run incorrectly. Usually, this is requirement in sharing system resources. There are several type of Hardware protection such as Memory Protection, CPU Protection, and I/O Protection.

  2. Address Binding and its Types
    In this article, it covers explanation of address binding and its type. The Association of program instruction and data to the actual physical memory locations is called the Address Binding. There are several type, Compile-time Address Binding, Load time Address Binding, Execution time or dynamic Address Binding.

  3. Binding vs Linking
    This article covers the differences between loading and linking. Loading is bringing the program from secondary memory to main memory is called Loading while linking means establishing the linking between all the modules or all the functions of the program in order to continue the program execution is called linking. There are to types of linking and loading, those are static and dynamic.

  4. Little vs Big Endian
    This article explains about endianness. The differences between them is just how they stored bytes values in memory. There are no advantages over others. This article alos give explanation in c code so we can ilustrate the implementation in operating system.

  5. Memory allocation
    It explains to us what is memory allocation and types of how to do that. The operating system need memory when it runs out and it sometime takes virtual memory. There are 2 types, that is static and dynamic mem alloc. I think the advantages is static over others, because it makes faster runtime of programs.

  6. Memory Swapping
    Memory swapping works by making use of virtual memory and storage space in an approach that provides additional resources when required. In short, this additional memory enables the computer to run faster and crunch data better. This memory swapping uses swap file or swap space as temporary virtual memory. This approach can have better performance

  7. Swapping vs Paging
    Swapping and paging are orthogonal concepts. These two are different concept. Paging are running pages or frames in process to virtual memory while swapping means move the unused part in physical memory to virtual memory stored in swap file. These two process make room for main memory to execute more when there is out of space in main memory.

  8. Swap Partition vs Swap File Performance
    There are two types to store swap, in a file or in disk partition. Swap file and partition is not the same thing. The swap partition is has better performance for disk using HDD because it barely fragmented while in swap file it can be fragmented and not close from one block swap to another.

  9. Pointers in C
    This forum discuss about why in C use pointers. Using pointers in C gives us advantages in performance because we can just use same value in same address instead assign that value to another address. This turns out to give lower memory requirements.

  10. Pointers in ther modern languages
    While pointers has better performance for C, C++, or Golang languages, but others dont have pointers. Java, javascript, C# dont have pointer because it can make OOP programming become unsecure. So the pointers is powerful but not in style of programming. But still C and Golang has much better performance than other languages.


© 2021-2021 --- Widyanto --- File Revision: 0031a---07-Mar-2021.