Memory refers to the physical devices used to store programs or data on a temporary or permanent basis for use in a computer or other digital electronic device.
24
votes
1answer
594 views
Performance of single-assignment ADT oriented code on modern CPUs
Working in immutable data with single assignments has the obvious effect of requiring more memory, one would presume, because you're constantly creating new values (though compilers under the covers ...
11
votes
11answers
1k views
Could it be more efficient for systems in general to do away with Stacks and just use Heap for memory management?
It seems to me that everything that can be done with a stack can be done with the heap, but not everything that can be done with the heap can be done with the stack. Is that correct? Then for ...
16
votes
4answers
3k views
Is it possible to read memory from another program by allocating all the empty space on a system?
Theoretically, if I were to build a program that allocated all the unused memory on a system, and continued to request more and more memory as other applications released memory that they no longer ...
5
votes
6answers
1k views
Addressable memory unit
From Wikipedia:
the term endian or endianness refers
to the ordering of individually
addressable sub-components within a
longer data item as stored in external
memory (or, sometimes, as ...
4
votes
3answers
2k views
Methods to share memory or state across JVMs?
This is long question I know. I have a few options for what I want. I don't want to know "this is obviously the best," but maybe any pros or cons I may be missing about the options, as well as any ...
2
votes
4answers
212 views
How to initialize object which may be used in catch clause?
I've seen this sort of pattern in code before:
//pseudo C# code
var exInfo = null; //Line A
try
{
var p = SomeProperty; //Line B
exInfo = new ExceptionMessage("The property was " + p); ...