4 ms·
Will it improve iteration time in Unreal? Because C++ already is way too slow to compile wich hurts iteration time, wich is why most people fall back to plain
by Kukumber 4y ago
Will it improve iteration time in Unreal?
Because C++ already is way too slow to compile wich hurts iteration time, wich is why most people fall back to plain simple blueprints, and even that can become quite heavy
Epic is working on a new scripting language that will improve this
What Rust brings to game development and how it's better than C/C++ in that regard?
Because you don't develop a game the same way, with the same constraints as a driver for example
- deleted 4y ago[deleted]
- deleted 4y ago[deleted]
- forrestthewoods 4y agoIs it? With live coding how long do your compiles take? TBH Unreal C++ is faster to compile than Unity C#. It is slower than an interpreted language. But I’ve also worked pipelines that chain Python executions which compound into ~5 second boot time. Faster is always better of course. But I often think people overstate compile times. The upside is it means people work hard to improve things from good to great!
- Kukumber 4y agoUnity is not a good benchmark, it's becoming slower every year Hot reload is great for small edits, but anything that require substantial changes or refactors and you got to recompile everything, that's what's slow
- forrestthewoods 4y agoHow slow? My Unreal C++ modules are pretty small. But on a P620 I’d say my time from editor -> compile -> relaunch editor in under a minute? I think I can compile and link the full engine in 15 minutes? But I will admit my current Unreal projects are quite small.
- sk0g 4y agoYou can build the engine within 15 minutes? That doesn't sound right, unless you've got 32/+ cores and a LOT of RAM. Dunno what a P620 is, so that may be the case.
- FpUser 4y agoI've never built Unreal. However on my own C++ projects - change something, compile and run takes couple of seconds in most cases. But yes - my development desktop is 16 core with 128GB RAM and my home server is 20 core with 512GB RAM. Extra RAM never hurts and it is not that expensive
- sk0g 4y agoIt's not just the compile times that sting you in Unreal, but it's opening your project as well. With fast storage and a small startup level it's not terrible, but the close editor -> compile small change -> reboot project sequence still takes about 15 seconds for me. It's a bit off-putting, particularly after using Unity where you can recompile with the editor open. Hopefully Verse fixes some of those issues.
- forrestthewoods 4y agoLenovo P620, it’s the workstation every big company seems to be using these days. Yes, 32C/64T Threadripper with 128gb of RAM.
- jcelerier 4y agoAs a c++ dev, I don't understand how anyone could ever tolerate a 1 minute compile-edit-run cycle. If it takes more than a couple seconds on my projects I start investigating build & launch times immediately; the productivity gained by fast iteration times is honestly exponential
- forrestthewoods 4y agoThat’s only if you change memory layout. If you only change code within a function then you can use LiveCoding and it’s maybe 7 seconds? > the productivity gained by fast iteration times is honestly exponential Preaching to the choir! Iteration speed is GodKing. But I’ve never seen a large game engine that had sub-second compile and startup times. C++ is a rather miserable language and just including any STL header can break that target.
- pornel 4y agoNo, it won't improve compile times, and that is a big drawback indeed.