News for hackers. Stuff that matters.
Re:Rust in QEMU Roadmap by Neywiny on Tuesday December 03, 2024 @08:12AM (#42305706)
:( the QOM inheritance is where I've had my wrist bugs. Recently I merged from master (upgrading me from version 8.something to 9.2.?) and they dramatically changed the resets. I tried the new way and had segfaults in bad places that went away when I reordered code that shouldn't have ordering requirements. That was too scary so I switched to their legacy reset function and it was all fine again. All this blind casting of opaques makes me nervous.
Re:Rust in QEMU Roadmap by bonzini on Tuesday December 03, 2024 @09:35AM (#42306466)
The legacy reset way is fine, and yeah this is where being more strict and doing more stuff within the language should help.