Re:C++ Dev Ecosystem 2021
by jbluepolarbear on Tuesday July 20, 2021 @12:09PM
(#27895578)
Did they improve build time for C++ in 2022? I’m still on 2019 for my IL2CPP Unity builds and it’s slow because it generates a lot of files. Each generic gets its own file per type.
[ Parent
| on HN ]
Re:C++ Dev Ecosystem 2021
by Shadonototro on Tuesday July 20, 2021 @01:01PM
(#27896296)
Il2CPP is slow because C# is a bloated language that doesn't work well with AOT compiler because most of the features people rely on are actually relying on runtime code generation
Re:C++ Dev Ecosystem 2021
by jbluepolarbear on Tuesday July 20, 2021 @02:01PM
(#27897031)
I mean it takes half the time to build in Xcode on the same machine.
I think you’re also confusing runtime code (dynamics) with reflection. Dynamics rely on reflection. AOT has issues where reflection would be used: generics, serialization, Activator, etc.