I'm interested in hearing examples from other #rustlang folks, particularly around examples that are tricky to get right in C/C++, but show off the "fearless" side of writing Rust!https://twitter.com/mbeddedartistry/status/1158407214186426369 …
Replying to @bitshiftmask
The only example I have is porting over this code: original: https://github.com/mafintosh/fd-lock/blob/master/binding.cc … rust: https://docs.rs/fd-lock/1.1.0/fd_lock/ … The gotcha here is that Unix supports files + sockets, but Windows only supports files. Rust's type system means you'll never get it wrong + the Mutex API is neat
3:42 PM - 5 Aug 2019
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.