#Unlike copilot codeium leans more

1 messages · Page 1 of 1 (latest)

left star
#

Do you see that Copilot does this better?

turbid dagger
#

I believe that "prompting Copilot" does not exist. Copilot is an advanced autocomplete (like Codeium), and sometimes they are so advanced that they don't even need the start of the code, just the comment above it. But that should be a regular code comment, not instructions. The prompting thing came from mislead people falling for chatGPT "write my code for me" hype

#

sometimes it works from instructions, but that's just because the autocomplete is advanced enough, not because it was supposed to (if that makes sense)

left star
#

Got it, if that's the case - we have some improvement to do in the instruction prompting case. My understanding is copilot is not optimized for this either but I could be wrong

willow prism
#

I would say, it is not strictly necessary to have this feature, I haven't used copilot so I can't say whether copilot is actually capable of writing code from live prompt (not pre existing comment).
It isn't that necessary, like i could just type for and it'll autocomplete the loop already.
So I don't know if it was possible in copilot already.
And I don't think codeium is any inferior to copilot. The core is probably the same. Copilot might just have better latency and bigger context but that's probably all of it.

willow prism
#

No it isn't.

#

It can see what the code is gonna be about from the previous comment. But it can't do what I said before.

turbid dagger
#

if you format your comment like a real code comment (eg. "//find the item with the smallest size") instead of a chat prompt ("write me a loop that gets the smallest item"), you will get better results

turbid dagger
#

I did exactly that once, i wrote (in c++) //find the [something] item in someVector, Codeium suggested a range based for loop. Then I added //using std::find_if and I got it. It's not a very efficient way to do things though, starting the line yourself gets way better results more quickly

#

The core functionality is autocomplete, the comment-based completion works accidentally. but people really like to assume that that is the primary function. I know some people who were trialing Copilot who are not very impressed by it's functionality, and then it turns out that the "functionality" that they were not impressed by is generating code by prompting it with comments :/

willow prism