3 ms·
> Even if on some platform it's not done for some reason, that can be replaced with your own implementation. Isn't this exactly what is done in the submitted p
by jstimpfle 3y ago
> Even if on some platform it's not done for some reason, that can be replaced with your own implementation.
Isn't this exactly what is done in the submitted post?
> But one doesn't need to assume the above to be true. Simply measure and check for yourself. If your findings don't match your understandings, there are alternate explanations.
The problem with this is that this costs extra work to assert, and to assert that it stays true over time.
I know it's the right thing to integrate tightly within a platform, especially when the application has to coexist with others (like in Desktop apps, unlike in Games). But when one doesn't exactly know the platform that the code is going to be running on, or when it needs to run on a multitude of platforms, this integration can be painful.
That's why I often prefer interfaces that give me a lot of control over what happens, or that specify exactly what the implementation does, including the performance characteristics.