What are the pros and cons of Inter process communication done via sockets vs shared memory?
I understand that two of the many more options for inter process communication can be :
Can multiple CPU’s / cores access the same RAM simultaneously?
This is what I guess would happen:
Java memory management (thunks/lazyness)
If I want to create an infinite list of integers in Java like so:
Given that I voluntarily choose not to implement virtual memory in my kernel, how would the memory-management-unit work?
For my basic kernel I refuse to implement the dreaded confusion of virtual memory scheming, so I want only real memory addresses for everything. Some people have argued with me that since virtual memory is hardware supported, and sometimes the MMU hardware is integrated with the CPU, is that a rule that virtual memory is mandatory by hardware-design?
Purpose of Base Address?
What’s the purpose of a base address in an executable?
Purpose of Base Address?
What’s the purpose of a base address in an executable?
Why is the main memory for object allocation called the ‘heap’?
Has anybody got an idea why the area of main memory where objects are allocated is referred to as the heap. I can understand the rationale for that of the stack LIFO but would like to know what the rationale is for the ‘heap’ name.
Deterministic and controllable fully automated memory management
Fully automated memory management increases productivity and integrity greatly, but usual implementation (GC) has a critical problem. It’s non-deterministic, and not controllable. This causes many problems such as burst CPU load which is critical for realtime applications. Some kind of optimizations (incremental/concurrent GC) can reduce those problems but still non-deterministic and can’t eliminate the problem completely.
Please help me understand the relationship between script file size and memory usage?
I am programming in PHP and I have an include file that I have to, well, include, as part of my script. The include file is 400 MB, and it contains an array of objects which are nothing more than configuration settings for a larger project. Here is an example of the contents:
Java vs PHP Memory / CPU Consumption
I work in a PHP based company. There is a project where we want to create a backend service. Senior members here are going for PHP, even though it is slower than Java. Their only point of contention, that Java is heavier than PHP in both memory and cpu load standpoint.