419 karma · joined January 5, 2016
Unless you have multiple devices, in which case it feels like you’re logging in constantly
What are you talking about?
For that kind of low-level work I’d probably do the former and implement my own data structures, which is what you do with no_std currently.
As others have said there’s nothing in Rust the language which assumes allocations always succeed. The standard library made the choice to panic on allocation failure, which was the right choice in order to make an ergonomic API that’s suitable for higher-level work. If you’re not using the standard library (which currently includes people on eg embedded targets) then you can handle allocation any way you like. And if you’re writing drivers for the kernel you’d assume you’re ok handling that.
GP was pointing out that the Clone trait doesn’t allow for returning a Result, so you can’t use that trait to clone anything that allocates. But that’s not really a big deal since you can just make your own TryClone that does.
3. All civilised countries have private healthcare as well as public. If you really want to pay more to avoid waiting lists and fancier wards, you can do so.
But that’s not what HDR is. 8bpc is definitely not enough to represent HDR Rec.2020 or DCI-P3 without significant banding.
The internet was supposed to bring us all together as one global community based on our shared interests. Instead it’s created ghettoes and echo chambers where people of all political stripes work together to reinforce their existing prejudices.
We as a society are going to have to figure out how we want to deal with this because it’s not going away. The idea of government policing what people say on the internet is anathema to most people here, and with good reason. But the alternative is private corporations doing it based on their shareholders’ whims, and only when the situation gets bad enough to cause them potential legal exposure.
Interestingly my wife said the same thing when watching it but I think the opposite is true. Everything in the great before is volumetric, so not easy to render at all.
I agree with you about the orphan rule being annoying and wish they’d relax that, but I much prefer traits to C++ duck-typed templates, if only because it makes error messages from passing an unsupported type to a generic function clear and concise as opposed to the thousands of lines of confusing output you often get in C++.