Re:Deep JavaScript: Theory and Techniques
by zamalek on Wednesday June 17, 2020 @02:04PM
(#23554579)
It's why managed languages have such a bad rap: people think that this stuff ceases to matter.
I remember the C# DirectX billboard sample, it was something like 10x slower than the same C++ sample in the same version of the SDK. Why? C# didn't have generics yet, and a value type was being stored in a non-generic list. Something like 4MB of memory was being copied around due to boxing and unboxing.
I remember the C# DirectX billboard sample, it was something like 10x slower than the same C++ sample in the same version of the SDK. Why? C# didn't have generics yet, and a value type was being stored in a non-generic list. Something like 4MB of memory was being copied around due to boxing and unboxing.
These things always matter.