Questions tagged [runtime-performance]
Refers to the performance of the code at runtime, as oppose to compiler performance or similar.
4 questions
82
votes
2
answers
32k
views
How do modern compilers choose which variables to put in registers?
C has the register keyword, originally designed as a hint to the compiler that a variable should be placed in a register rather than on the stack. However this is ...
8
votes
1
answer
679
views
What runtime strategies make BEAM so good at concurrency?
BEAM (Erlang virtual machine) is known for having the ability to run huge amounts of concurrent processes, and very large amounts of messages between those processes. What runtime strategies does it ...
2
votes
5
answers
884
views
Is there any way a Java-like language could implement immutable primitive arrays without incurring performance penalties?
I asked: What prevents Java from having immutable primitive arrays? a while back and got an answer: Because immutable primitive arrays would typically require checking some immutable flag every time a ...
9
votes
1
answer
665
views
How does the performance of reference counting and tracing GC compare?
We already have a more general question about different types of garbage collection, but performance is only touched on briefly, and in pretty unspecific ways. What are the more specific ways in which ...