Hacker News new | ask | show | jobs
by nsonha 1051 days ago
technically it's not the best abstraction. Who wants manual memory management while programming GUI or domain layer?
2 comments

IMHO, rust is more explicit memory management than manual memory management. You don't have to juggle individual calls to malloc and free, but of course there is the borrow checker and you also have to be explicit about things like taking a reference to something versus cloning it.

Thanks to all that, nobody's yet managed to demonstrate a GUI library that really feels like it belongs (in terms of code architecture, but also look & feel).

I sure don't, C++ is pretty commonly used for this usecase and memory management is at least somewhat less manual in Rust than C++
> C++ is pretty commonly used for this usecase

Was, for the lack of options