All Questions
Tagged with memory-management pointers
3
questions
2
votes
1
answer
391
views
Are there actual languages using fat pointers to store types?
In the normal implementations of C++, while not guaranteed by the standard, there is a vtable pointer as the header of every inherited class that needs a vtable pointer. There will be multiple vtable ...
3
votes
0
answers
203
views
Is there a downside to using offsets instead of raw pointers in a virtual machine?
Say I'm designing a virtual machine for a bytecode compiler/interpreter, using C as the implementation language. Some kind of “tagged” representation of values is simplest for this language, where ...
2
votes
1
answer
250
views
Are there languages making addresses to have other significant meaning?
Some examples:
To support checking whether an object is of a subclass of a specific class in constant time, in a language using single inheritance, the compiler could arrange the vtables of classes ...