3 ms·
C++ only has repeatable performance if used in certain ways. > various reference counting and tracking schemes. Reference counting doesn't always have repeata
by kazinator 9y ago
C++ only has repeatable performance if used in certain ways.
> various reference counting and tracking schemes.
Reference counting doesn't always have repeatable performance.
Maybe for a program image started from scratch on exactly the same non-real-time input. But then almost anything has repeatable performance for that, including ordinary mark-and-sweep garbage collection.
- dfox 9y agoMy point was that only reason to use C++ is when you want repeatable performance which implies that you will not do things that are against this goal (and in fact C++ makes various tricks to achieve this goal trivial, eg. per-timestep heaps) My other point was that for anything other you do not want to use C++. Edit: and also "when used in certain ways" is exactly the problem with C++ I tried to point out. The language and it's interactions with real implementations is simply too complex for any kind of useful analysis.