Rohith
Creator of whiletrue.live.
Process vs Thread
Processes are basically the programs that are dispatched from the ready state and are scheduled in the CPU for execution. PCB(Process Control Block) holds the concept of process. A process can create other processes which are known as Child Processes. Thread is the segment of a process which means a process can have multiple threads and these multiple threads are contained within a process. A thread has three states i.e. Running, Ready, and Blocked.
Posted September 9, 2022 by Rohith and Anusha ‐ 2 min read
Procedural Programming vs Object-Oriented Programming
Procedural Programming can be defined as a programming model which is derived from structured programming, based upon the concept of calling procedure. Procedures, also known as routines, subroutines or functions, simply consist of a series of computational steps to be carried out. Object-oriented programming can be defined as a programming model which is based upon the concept of objects. Objects contain data in the form of attributes and code in the form of methods. In object-oriented programming, computer programs are designed using the concept of objects that interact with the real world.
Posted September 9, 2022 by Rohith and Anusha ‐ 2 min read
⌖ quick-references blog procedural-programming object-oriented-programming differences
Stack Allocation vs Heap Allocation
Stack Allocation happens on contiguous blocks of memory. We call it a stack memory allocation because the allocation happens in the function call stack. The size of memory to be allocated is known to the compiler and whenever a function is called, its variables get memory allocated on the stack. Heap Allocation is allocated during the execution of instructions written by programmers. Note that the name heap has nothing to do with the heap data structure. It is called heap because it is a pile of memory space available to programmers to allocate and de-allocate.
Posted September 9, 2022 by Rohith and Anusha ‐ 1 min read
JDK vs JRE
JDK stands for Java Development Kit. It is a software development environment used to develop Java applications and applets. It is a platform-specific software i.e there are separate installers for Windows, Mac, and Unix systems. JRE stands for Java Runtime Environment. It is the implementation of JVM (Java Virtual Machine) and it is specially designed to provide an environment to execute Java programs. It is also platform dependent like JDK.
Posted September 9, 2022 by Rohith and Anusha ‐ 1 min read
TypeScript vs jQuery
JavaScript is a major scripting programming language that is used to make websites more responsive and interactive. It is one of the pivoted parts alongside HTML and CSS which are used to create web pages. JQuery is a framework for javaScript which developed from JavaScript. It is the most popular JavaScript library invented by John Resign and was released in January 2006 at BarCamp NYC. It is a free, open-source library and It’s a fast, concise, and rich-featured JavaScript library and also has cross-browser compatibility.
Posted September 9, 2022 by Rohith and Anusha ‐ 2 min read