GitHub Copilot...
-
I don't think I understand the question? The way I'm interpreting it doesn't make sense, but I can't figure it out. The way I'm reading it suggests that AI has been around for the whole of human history :~ but I know that's not what you're saying.
Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
Humans evolved, then they built AIs. The AIs eventually take over, and keep humans only so they can add some randomness into the AIs' models. Isaac Asimov wrote a good short story on a similar theme, The Last Answer. It's not as well-known as his The Last Question, but worth reading IMO.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
-
Have you tested it? Any conclusions?
Quote:
Did you know that research shows developers who use GitHub Copilot complete tasks 2X faster compared to benchmarks? Plus, the mental energy they save helps them feel more satisfied and have more fun with their work.
That's from an email I received from GitHub (MS)... To be honest I can't say anythin good about Copilot - all 5 times I asked a question it bomarded me with total nonsence (and not working, and mostly not even compiling) code solutions, meanwhile not paying attention to the details but hanging on the recognized keywords (like picking 'working' from 'not working')... However, I will form a firm oppinion after at least 50 times of using it...
"It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox
I've used it for more than a year now, it's really helpful in writing boilerplate code, a really good auto-complete. That is pretty much what I use it for.
-
I've found it to save some time with autocomplete when you have an existing example in the code to work from and it's a repetitive task. E.g. public void IsNumberEven(int number) { if (number == 0) return true; if number == 1) return false; if number == 2) return true; // copilot will do well with autocomplete here } :P
-
Have you tested it? Any conclusions?
Quote:
Did you know that research shows developers who use GitHub Copilot complete tasks 2X faster compared to benchmarks? Plus, the mental energy they save helps them feel more satisfied and have more fun with their work.
That's from an email I received from GitHub (MS)... To be honest I can't say anythin good about Copilot - all 5 times I asked a question it bomarded me with total nonsence (and not working, and mostly not even compiling) code solutions, meanwhile not paying attention to the details but hanging on the recognized keywords (like picking 'working' from 'not working')... However, I will form a firm oppinion after at least 50 times of using it...
"It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox
I was slow to realize the benefits of it for C++. Recently, I needed to wrap a complicated templated class (CUDA Thrust host_vector and some others), and I asked the GitHub Copilot chat to generate wrappers using the private-implementation pattern (pimpl pattern). It gave me a fantastic start to it, throwing in the right include files. It did not make wrappers for 100% of it, but I was able to fill in the missing pieces easily enough. In fact, its inline suggestions in Visual Studio 2022 often saved me a whole bunch of typing. Once it saw that I was repeating a pattern (wrapping a class using the pimpl pattern), the inline suggestions saved me typing boiler-plate stuff for levels of indirection and such. Other useful things I have asked it are to write me a CUDA algorithm that does something pretty specific. Sooo useful. However, the Windows Copilot (free) seems similarly capable as long as it does not need to see your code. GitHub Copilot knows how you like to name your identifiers (m_width_meters vs m_width_pixels, for example). Those little touches have got me hooked. If I am confused about how to invoke a C++ standard-library function, I ask for an example program. Am I twice as productive? No. But I'm hooked.