Re:Unity plan pricing and packaging updates
by sha90 on Tuesday September 12, 2023 @02:22PM
(#37485278)
Citation needed? Raw speed is likely similar; the cost overhead comes from GC cycles and the general approach to managing memory primarily in the heap vs stack, although C# can stackalloc if you're really diligent. Note that this is the same problem that blazing fast alternatives like Go have at competing with C/C++. These languages are mostly equivalent to C/C++ in speed, but lose the benchmark shootouts because of GC.
[ Parent
| on HN ]
Re:Unity plan pricing and packaging updates
by neonsunset on Tuesday September 12, 2023 @07:38PM
(#37490183)
Calling Go blazing fast would be a stretch at best...the path to performance in C# is same as in Rust or C++: struct generics (aka templates), as short hot paths as possible, static partitioning of the work, sometimes hands on memory management and minimization of locking.