Questions tagged [runtime-performance]
Refers to the performance of the code at runtime, as oppose to compiler performance or similar.
5 questions
2
votes
2
answers
224
views
Is there something better than async in order to avoid dead or unused processing times in single thread?
I recently read about PHP's true async RFC.
The initial real life "picture" (unrelated to PHP or sync processing) that I imagined was a waiter in a restaurant. He/She/It works async, taking ...
83
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
702
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
1k
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
684
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 ...