News for hackers. Stuff that matters.
Re:Gemini can't show me the fastest way to copy memory in C#... by drivingmenuts on Friday February 09, 2024 @07:03AM (#39313945)
If it did show unsafe code, people would be excoriating for that. Hell, someone would probably try to sue Google for allowing its AI to show unsafe results, or perhaps if the code caused a problem, Google would catch some of the blame, regardless.

You can't win for losing on the internet, so I'm not at all surprised somebody decided to take the safe, pr-driven route.

Re:Gemini can't show me the fastest way to copy memory in C#... by starburst on Friday February 09, 2024 @03:36PM (#39320169)
He is talking about the `unsafe` keyword in C# not "unsafe code", there is plenty of good reason to use it, especially as a game dev.