4 ms·
> at least not in a single threaded context. That's the beauty of Rust: it assumes single-threaded programs don't exist. All types — including all 3rd party l
by pornel 7y ago
> at least not in a single threaded context.
That's the beauty of Rust: it assumes single-threaded programs don't exist.
All types — including all 3rd party libraries — are forced to be either thread-safe or explicitly not compile if they'd cross thread boundaries. Nobody has "but I don't support multi threaded programs" excuse, so you may as well throw multithreading at everything.