3 ms·
What kinds of programs are you writing and with what models? I'm curious if the lifetimes your programs require are trickier than most.
by faitswulff 4mo ago
What kinds of programs are you writing and with what models? I'm curious if the lifetimes your programs require are trickier than most.
- jdw64 4mo agoI'm actually vibe coding a game engine right now using a Hexagonal Architecture, and I ran into this exact same issue when trying to synchronize the feedback loop between the viewport and the editor. To be fair, I probably messed up the domain boundaries myself in the first place, but honestly, the AI-generated code wasn't very effective at solving it either
- mike_hearn 4mo agoGame engines are one of the worst case scenarios for something like Rust as game heaps are simulations of the real world, so have lots of complex graph structures in them. Affine types work best for request/response oriented stuff where lifetimes are clearly bounded.
- jdw64 4mo agoSo, I am currently changing the language. Thank you for your kind advice