3 ms·
It uses a lot of unsafe rust code. Here an example https://github.com/rust-qt/examples/blob/master/widgets/basic_form/src/main.rs https://github.com/rust-qt/exa
by Popegaf 5y ago
It uses a lot of unsafe rust code. Here an example https://github.com/rust-qt/examples/blob/master/widgets/basic_form/src/main.rs https://github.com/rust-qt/examples/blob/master/widgets/basi...
I'm not sure what's the advantage of using unsafe code everywhere in Rust compared to just using C/C++. The syntax?
- cdirkx 5y agoBeing part of a bigger Rust project? The GUI is just one component after all.
- nonbirithm 5y agoEven for unsafe code Rust was designed to be more ergonomic than C (like pointer arithmetic operations). That said a safe wrapper would be preferred to unsafe everywhere.