Hmmm I think I actually really want classes. Something that combines data and methods together without more function pointers. Template vs generic I don't care about
Rust structs are in some ways similar to C++ classes. You can combine data and methods together with them without worrying about things like function pointers.
Rust structs do bind data and methods together.
Re:Rust in QEMU Roadmap
by justahuman74 on Tuesday December 03, 2024 @06:41PM
(#42312952)
On the other hand it seems like gobject was good for gnome as it made it easier to bind GTK to other languages
I completely agree with his point about reimplementing C++ badly in C. GNOME does this too in their libraries. He will be much happier with Rust.