These are chat archives for rust-lang/rust

28th
Sep 2016
Robert Stone
@rjstone
Sep 28 2016 02:09
holy..... this room has a lot of people in it. Hello
Ian Henry
@eeyun
Sep 28 2016 02:17
:smile:
Robert Stone
@rjstone
Sep 28 2016 02:27
don't mind me I'm just rust curious at the moment. seems like the greatest thing since sliced bread
Markus Siemens
@msiemens
Sep 28 2016 09:11
One may say that Rust allows one to slice bread safely :D
Vincent Cantin
@green-coder
Sep 28 2016 09:44
Some say that Rust allows to cut multiple slices of the bread at the same time and safely.
Ian Henry
@eeyun
Sep 28 2016 15:47
or even multiple slices from multiple loaves safely and very fast :sparkles:
Remi Rampin
@remram44
Sep 28 2016 16:21
I am French and tell me more!
Robert Stone
@rjstone
Sep 28 2016 19:53
All I know is that writing multi-threaded code while having to do manual mutex locking seems like a recipe for disaster. Languages really need better support for concurrency in this day and age where multi-core processors are the norm and you can't use the whole processor without multi-threadding.
LeonineKing1199
@LeonineKing1199
Sep 28 2016 20:07
Well, with parallel code, you should be avoiding locks like the plague.
They serialize things when they need to be but they're often the kiss of death with regards to performance.
Actually, I think I heard Rust had some issues on Windows with recursive mutexes
LeonineKing1199
@LeonineKing1199
Sep 28 2016 20:18
I think the real problem isn't so much language as it is the fact that parallel code is just harder to reason about
And the hardware is iffy
The fact that write and read instructions are allowed to overlap each other for a specified memory location is super lame. And it shouldn't be my problem, imo.