Hacker News new | past | comments | ask | show | jobs | submit login

It's more problematic in languages that encourage allocation since you have to work more to avoid it.

I've done game development in C++, C#, and JS, and I had to worry about memory management far more in JS than in C# or C++, simply because even something as innocent as adding two vec3s requires you come up with a space for the result first, if you want to avoid gc hitches.

C#'s struct types help here, but it still has plenty of its features increase GC pressure.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: