148 karma · joined February 8, 2016
My employer pays for the ultimate license, but I will absolutely pay for it once I move on.
Source: Been rocking Corsair AIO coolers for around a decade now. I did have have the pump fail in one of them after around seven years of use.
You do not pay a performance cost for borrowing semantics in rust.
c++ will let you push_back while holding a reference to an element of that vector. rust will not.
auto v = vector<int> { 1, 2, 3 };
auto &e = v[0]; // plan to use element later
// ...
v.push_back(v.size());
// ...
cout << e << "\n"; // boom
As a real example of this: suppose you're managing a vector of connected users. v is large enough to hold 64 user structs. e is a reference to the last user who produced an event. If a 65th user connects then the vector will need to be reallocated, thereby invalidating e.Rust saves you here. The compiler will let you have a reference to the element if the vector is marked as immutable. If the vector is marked as mutable the compiler will yell at you and you'll need to store an index instead.
printf("The parent process is exiting now\n");
This should read child is exiting. printf("The child process is sleeping now\n");
This should read parent is sleeping.Overall, I really enjoyed the article.
Money isn't everything to some people. He has the true hacker ethos.
Finally, every guest OS I've run has a build of an ovirt agent that reports back to the management node on its configuration (installed software, cpu/mem/io usage, ip addresses, hostname, etc).