stack

Full explanation of JVM – Runtime Data Area and How JVM using it

Reading Time: 3 minutes Runtime Data Areas are responsible to provide memory to store bytecode, objects, parameters, local variables, return values and intermediate results of computations. It’s a part of JVM. The JVM organises the memory it needs to execute program into serval runtime data areas. JVM totally contains five runtime areas Method Area Heap Area Java Stacks Area Program Counter Registers Area Native Methods Stacks area Method Area Continue Reading

Box Pointers in Rust make recursive types possible

Reading Time: 3 minutes Overview A pointer is a general programming concept for a variable that contains an address in memory. In Rust, we have smart pointers in addition to normal pointers. Smart pointers are data structures that not only act as a pointer but also have additional metadata and capabilities. Box pointers are one of the smart pointers in Rust. Box Pointers Boxes allow you to store data on the heap Continue Reading