85 karma · joined Jul 18, 2020 (6y ago) · 25 submissions
comment 6y ago · link · parent
I don't use Google for search, though, so I can't comment on that.
comment 6y ago · link · parent
* Garbage collectors often scare game developers since they can lead to hard-to-fix latency spikes.
* Rust has some cool libraries (specs, rayon, etc.) that let you safely parallelize computation.
Over C++:
* It's a memory-safe language, which instantly avoids tons of bugs.
* Library interfaces are usually higher-level in Rust than in C++, for various reasons (sum types being a big one).
* It's a much smaller language, so there aren't any dark corners that you'll randomly be forced to learn.
* It has an easy-to-use package manager, and I'm not sure where C++ is on that front.
comment 6y ago · link · parent
Never attribute to malice that which…
> there have always been business models to support publishing and providing services that do not rely on adverstising and these models are well known
I am sure that these models exist, I just don't know about them because I haven't done the research. It would be easier for everyone if you just listed a few viable funding models for a search giant.
> Push advertising is unethical and culturally toxic
That is your opinion, and not one that most people share — most people think that advertising is an acceptable trade-off for good search results. If you want to persuade people of anything, you'll have to meet them where they're at, either by convincing us first that advertising is "unethical and culturally toxic", or by using some other argument.
comment 6y ago · link · parent
Yes, some farms may operate in line with an acceptable standard of ethics, but for many people, it is easier to live a vegan lifestyle than to carefully ensure that all their dairy is ethically sourced.
comment 6y ago · link · parent
Well yes, but this is a game streaming app. It just captures input from the user and sends back a video of the game, running in the cloud.
> It's a private company and they can do what they want.
And we are individuals who can complain as much as we want; this is a non-argument.
> I appreciate their oversight, because now I know that I can't get hacked by Microsoft allowing bad games on their app!
The games are totally isolated from your phone, so they can't hack you, unless they're somehow using the input from your phone as a ridiculously low-bandwidth side channel.
comment 6y ago · link · parent
What's unimpressive about a stunningly believable parrot? I think, at the very least, that GPT-3 is knowledgeable enough to answer any trivia you throw at it, and creative enough to write original poetry that a college student could have plausibly written.
Not everything worth doing is as high-stakes as buying stocks, making chemical formulas, or building planes.
comment 6y ago · link · parent
let value = unsafe {
match result {
Ok(value) => value,
_ => hint::unreachable_unchecked()
}
};
At this point, the fact that you've skipped an error check should be abundantly clear to anyone reading your code.