News for hackers. Stuff that matters.
Re:Rust in QEMU Roadmap by qalmakka on Wednesday December 04, 2024 @02:29AM (#42315239)
Yeah but it made literally zero sense to write GObject in C. They've reimplemented inheritance and the like with macro BS while the GNU project literally had both a C++ and Objective-C compiler - Objective-C warts and all was a perfect fit for GObject.
Re:Rust in QEMU Roadmap by bobajeff on Wednesday December 04, 2024 @09:41AM (#42317867)
It makes sense if you consider that it was created for making c libraries bindable to higher level languages. That's more a flaw in it's design rather than implementation. If they were to design such a system now I'd hope it would be designed as a language independent ABI, Runtime and IDL like the Wasm Component Model.