logoalt Hacker News

kenoath69yesterday at 8:49 PM4 repliesview on HN

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.


Replies

BreakfastB0byesterday at 11:35 PM

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

jiehongyesterday at 8:54 PM

I think that’s what zig team is also doing to allow very fast build times: remove LLVM.

show 1 reply
norman784yesterday at 8:56 PM

Nice, I checked a while ago and was no support for macOS aarch64, but seems that now it is supported.

lll-o-lllyesterday at 10:06 PM

Wait. You were going to ditch rust because of 16 second build times?

show 4 replies