Skip to content
TILens What matters today in tech v0.3.1
Theme

Topic - Edition

Rust

4 items on 21 Aug 2026
Rust

Mixing atomics between C and Rust

Hi, is it legal to use atomics from both C and Rust at the same time? __atomic_store_n(armed, 1, __ATOMIC_RELEASE); And then on the same pointer: armed.load(Ordering::Acquire); Not C++ ! 2 posts - 2 participants Read…

Source: Rust Users Forum Ddystopia
Rust

Is there a crate providing bindings to the Qt C++ API?

I would like to use Qt via the procedural style (as opposed to the declarative QML) and so far have found multiple crates that allow writing a QObject subclass in Rust and exposing it to QML/C++ (cxx-qt, qmetaobject,…

Source: Rust Users Forum meclondrej
Rust

Add maximum and minimum and other functions

There should be a convenience way to get the maximum of an array or a set. Which would work like this. assert_eq!([1,2,3].maximum(), 3); assert_eq!([1,2,3].minimum(), 1); 6 posts - 5 participants Read full topic

Source: Rust Internals Forum BennyLi