3 ms·
Not surprising tbh, no automatic memory management solution is ready for realtime graphics - it always requires a lot of manual care to reduce memory management
by flohofwoe 2y ago
Not surprising tbh, no automatic memory management solution is ready for realtime graphics - it always requires a lot of manual care to reduce memory management overhead (for instance working around the GC instead of using it), which then kinda defeats the purpose of the 'automatic' in automatic memory management. There simply is no memory management silver bullet when performance matters.
- davexunit 2y agoPerhaps I should've said this in the post to ward off comments from the anti-GC crowd but I do realtime graphics in managed memory languages just fine outside of the Wasm context. This is a Wasm problem.
- wavemode 2y ago> no automatic memory management solution is ready for realtime graphics Unreal Engine and Unity don't exist then?
- flohofwoe 2y agoUnity games have plenty of GC related stutter issues and working around the Unity GC to prevent those issues is basically its own field of engineering. As for UE, I wonder if they would go down the same route today, or whether they just can't rip out their GC because it would mean a complete rewrite of the engine. Games don't need lifetime management at object granularity.