From 9e31fc70fee41623d226eb24b10664a808f65d37 Mon Sep 17 00:00:00 2001 From: Zachary Proser Date: Mon, 5 Feb 2024 10:41:01 -0500 Subject: [PATCH] Latest updates --- src/app/blog/codeium-vs-chatgpt/page.mdx | 44 ++++++++++++------------ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/app/blog/codeium-vs-chatgpt/page.mdx b/src/app/blog/codeium-vs-chatgpt/page.mdx index da377519..5f550bde 100644 --- a/src/app/blog/codeium-vs-chatgpt/page.mdx +++ b/src/app/blog/codeium-vs-chatgpt/page.mdx @@ -7,6 +7,7 @@ import codeiumChat from '@/images/codeium-chat.webp' import chatGPTDALLE from '@/images/codeium-vs-chatgpt-dalle-3.webp' import codeiumExample from '@/images/codeium-example.webp' import modsExample from '@/images/mods-example.gif' +import projectBasedLearning from '@/images/project-based-learning.webp' import ConsultingCTA from '@/components/ConsultingCTA' @@ -52,7 +53,7 @@ and how you can use them to level up your development or technical workflow. ## Codeium vs ChatGPT - capabilities at a glance -| | Code generation | Image generation | Chat capabilities | Code completion | General purpose chat | Runs in IDEs | Free to use +| | Code generation | Image generation | Chat capabilities | Code completion | General purpose chat | Runs in IDEs | Free |---|---|---|---|---|---|---|---| | **Codeium** | ✅ | ❌ | ❌ | ✅ | ❌ | ✅ | ✅ | | **ChatGPT** | ✅ | ✅ | ✅ | ✅ | ✅ | ✴️ | ❌ | @@ -66,7 +67,7 @@ Let's break down each of these attributes in turn to better understand how these ### Code generation -Both Codeium and ChatGPT are capable of advanced code generation, meaning that developers can ask it write code in most any programming language and get back something pretty reasonable +Both Codeium and ChatGPT are capable of advanced code generation, meaning that developers can ask the tool to write code in most any programming language and get back something pretty reasonable most of the time. For example, in the browser interface of ChatGPT 4, you could ask for a Javascript class that represents a user for a new backend system you're writing and get something @@ -74,14 +75,14 @@ decent back, especially if you provide notes and refinements along the way. For example, here's an actual conversation with ChatGPT 4 where I do just that. -Unless you're using a third party wrapper like a command like tool or IDE plugin that calls the OpenAI API, it's slightly awkward to do this in ChatGPT's browser chat window - +Unless you're using a third party wrapper like a command line interface (CLI) or IDE plugin that calls the OpenAI API, it's slightly awkward to do this in ChatGPT's browser chat window - because you're going to end up doing a lot of copying from the browser and judiciously pasting into your code editor. Even with this limitation, I've still found using ChatGPT 4 to discuss technical scenarios as I work to be a massive accelerator. ### Runs in IDEs -Codeium's advantage here is that it is designed to tightly integrate with the code editors that developers already use, such as VSCode and Neovim. +Codeium's advantage here is that it tightly integrates with the code editors that developers already use, such as VSCode and Neovim. Think of Codeium as a code assistant that is hanging out in the background of whatever file you happen to be editing at the moment. It can read all of the text and code in the file to build up context. @@ -113,8 +114,8 @@ My favorite of these is called -This makes the full power of OpenAI's latest models, as well as many powerful local-only and open-source models, directly -into your terminal where developers tend to live. +This makes the full power of OpenAI's latest models, as well as many powerful local-only and open-source models, available +in your terminal where developers tend to live. I can have it read a file and suggest code improvements: @@ -136,9 +137,9 @@ There are many community plugins for VSCode and Neovim that wrap the OpenAI in a When you consider that it's possible to bring ChatGPT4 into your code editors and terminal with a little extra work, one of the key advantages that Codeium retains is its price. -I'm currently happy to pay $20 per month for ChatGPT Plus because I'm getting value out of it daily for various development tasks and for talking through problems. But Codeium is +I'm currently happy to pay $20 per month for ChatGPT Plus because I'm getting value out of it daily for various development tasks and for talking through problems. -absolutely free for individual developers, which is not to be overlooked, because the quality of its output is also very high. +But Codeium is absolutely free for individual developers, which is not to be overlooked, because the quality of its output is also very high. ## What advantage does ChatGPT have over Codeium? @@ -147,24 +148,23 @@ they want, such as: > "A bright and active school where several young hackers are sitting around working on computers while the instructor explains code on the whiteboard. Pixel art style." -## How developers use Codeium +Project-based learning image generated by ChatGPT and DALLE -Codeium is installed in developer's integrated development environments (IDEs) such as VSCode or Neovim, and -as they write code, documentation and fix bugs, Codeium is aware of the context of the files being edited and can suggest autocompletions that developers can either accept, -reject or cycle through. +Having an on-demand image generator that responds to feedback, has a wide array of artistic styles at its disposal and can more or less follow directions (it's definitely not perfect) +is a pretty incredible time-saver and assistant when you publish as much on the web as I do. -As I initially wrote in my [Codeium review in 2023](/blog/codeium-review), I've found Codeium's overall quality of suggestions to be higher than GitHub's Copilot. Codeium is one -of my favorite tools and I have it installed on all of my development machines because: - -* It's free for individual developers -* It works across every possible file type I edit, from YAML to Go, JavaScript, Dockerfiles, shell scripts, etc -* Its suggestions are of superlative quality, across the various auto-completion tools I've tried +## What about general purpose chat? -ChatGPT is OpenAI's groundbreaking model that is available via a browser interface and API, and a slew of -developer command line tools and helpers that wrap and call the API. +Up until recently, ChatGPT had the upper hand here. It's still one of the most powerful models available at the time of this writing, and it is not constrained to technical conversations. -The overall capabilities list is beginning to blend together a bit, because Codeium now has free chat functionality - and from some initial testing, it does quite well with the kinds of -coding asisstant tasks I would normally delegate to ChatGPT: +In fact, one of my favorite ways to use it is as a tutor on some new topic I'm ramping up on - I can ask it complex questions to check my understanding and ask for feedback on the mental +models I'm building. Anything from pop culture to outer space, philosophy and the meaning of life are up for grabs - and you can have a pretty satisfying and generally informative discussion +with ChatGPT on these and many more topics. + +Tools like Codeium and GitHub's CoPilot used to be focused on the intelligent auto-completion functionality for coders, but all of these "AI-assisted developer tools" have been scrambling to add +their own chat functionality recently. + +Codeium now has free chat functionality - and from some initial testing, it does quite well with the kinds of coding asisstant tasks I would normally delegate to ChatGPT: Codeium's free chat interface