Comment by kenoath69
20 hours ago
Where is Cranelift mentioned
My 2c on this is nearly ditching rust for game development due to the compile times, in digging it turned out that LLVM is very slow regardless of opt level. Indeed it's what the Jai devs have been saying.
So Cranelift might be relevant for OP, I will shill it endlessly, took my game from 16 seconds to 4 seconds. Incredible work Cranelift team.
I participated in the most recent Bevy game jam and the community has a new tool that came out of Dioxus called subsecond which as the name suggests provides sub-second hot reloading of systems. It made prototyping very pleasant. Especially when iterating on UI.
https://github.com/TheBevyFlock/bevy_simple_subsecond_system
I think that’s what zig team is also doing to allow very fast build times: remove LLVM.
Yes, Zig author commented[0] that a while ago
[0] https://news.ycombinator.com/item?id=44390972
Nice, I checked a while ago and was no support for macOS aarch64, but seems that now it is supported.
Wait. You were going to ditch rust because of 16 second build times?
"Wait. You were going to ditch subversion for git because of 16 second branch merge times?"
Performance matters.
Over time that adds up when your coding consists of REPL like workflow.
Pulling out Instagram 100 times in every workday, yes, it's a total disaster
It may also contribute to smoking. :D Or (over-)eating... or whatever your vice is.
16 seconds is infuriating for something that needs to be manually tested like does this jump feel too floaty.
But it’s also probable that 16 seconds was fairly early in development and it would get much worse from there.