« first day (2475 days earlier)      last day (1004 days later) » 

9:30 AM
6
A: Why there is no `shutdown` method for TcpListener and UdpSocket in Rust

SmitopYou can use std::mem::drop to drop a value early: let listener = TcpListener::bind("127.0.0.1:80")?; // ... drop(listener); // ... There is no shutdown method because it isn't needed. The existing ownership system is already good enough for keeping track of if a socket is usable, and there is no...

wrong answer +7 upvote - -
 
 
3 hours later…
12:01 PM
Rust for Linux (redux) (FYI @Stargateur)
 
 
1 hour later…
1:13 PM
@PeterVaro my new boss is winning cause he "has hard time find a Rust dev", and said to me, Rust was a bad choice (Not mine BTW) cause there is not enough dev in Rust... Then he ask me if a C++ or Swift dev would be able to code in Rust. How to explain that Rust is not like C++ the prove being, linus never agree to add one line of C++ in linux, whereas he was clearly not opposite to Rust. Cause Rust is a new C not a new C++. So I say, "well, I don't know if a C++ dev can code in Rust, I guess ...
he could but know C++ is not really an big advantage to learn Rust, and worst could be a problem if he try to code in Rust like in C++"
 
1:36 PM
@Stargateur Well, if you really cannot find fluent Rust engineers (which I have doubt about myself) then hire people who are proefficient in both Python (or Haskell) and C, then you only have to explain life-times and the borrow rules.
 

« first day (2475 days earlier)      last day (1004 days later) »