6 ms·
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 sl
by kenoath69 1y 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.
- jiehong 1y agoI think that’s what zig team is also doing to allow very fast build times: remove LLVM.
- norman784 1y agoYes, Zig author commented[0] that a while ago [0] https://news.ycombinator.com/item?id=44390972 https://news.ycombinator.com/item?id=44390972
- norman784 1y agoNice, I checked a while ago and was no support for macOS aarch64, but seems that now it is supported.
- lll-o-lll 1y agoWait. You were going to ditch rust because of 16 second build times?
- sarchertech 1y ago16 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.
- metaltyphoon 1y agoOver time that adds up when your coding consists of REPL like workflow.
- kenoath69 1y agoPulling out Instagram 100 times in every workday, yes, it's a total disaster
- johnisgood 1y agoIt may also contribute to smoking. :D Or (over-)eating... or whatever your vice is.
- Mawr 1y ago"Wait. You were going to ditch subversion for git because of 16 second branch merge times?" Performance matters.
- BreakfastB0b 1y agoI 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 https://github.com/TheBevyFlock/bevy_simple_subsecond_system
- ptspts 1y agoIsn't `gcc -O0` (for both C and C++) even slower than `clang -O0`?