Skip to main content

Digital Trends may earn a commission when you buy through links on our site. Why trust us?

Google Bard just took a big step toward being a proper ChatGPT rival

The Google Bard AI chatbot can now complete various programming and software development tasks such as code generation, code debugging, and explanation of code.

This was an important missing feature in Bard’s ability to compete with ChatGPT, the most popular AI chatbot right now.

Google Bard
Image used with permission by copyright holder

Google announced the update of Bard on Friday on its blog, stating that it has been one of the primary requests from users since the launch of the AI chatbot in March. Bard can assist with generating, debugging, and explaining over 20 different programming languages including C++, Go, Java, Javascript, Python, and Typescript. It can also export Python code to Google Colab without needing to copy and paste, as well as aid in writing functions for Google Sheets.

Recommended Videos

Google noted an especially helpful part of the Bard update is its ability to explain parts of code to used, stating it might be helpful for those who are new to programming, or if someone is stuck on a particularly difficult block of code.

Please enable Javascript to view this content

When it comes to debugging, if you get an error with Bard, you need only input this code didn’t work, please fix it, and the chatbot will assist in correcting the defective code. Google noted that Bard can even debug code that it developed.

As a project still in its early experimental phase, Google notes that Bard might produce information that is inaccurate, misleading, or false. It encourages users to double-check the chatbot’s responses and test for errors, bugs, and vulnerabilities before using it for any independent works. Even so, the brand is confident that Bard’s new coding capabilities can be beneficial in assisting users in their own projects.

Google said other tips include the prompt could you please make that code faster. Another easy prompt to use is find error handling clauses you might have missed.

Bard was released as Google’s chatbot rival to OpenAI’s ChatGPT, which is also the power behind Microsoft’s Bing chat. While Bard has similar functions to ChatGPT, a report from Bloomberg indicates that some Google employees have little faith in the chatbot and feel that the project was rushed to launch in an effort to compete with OpenAI and Microsoft.

Notably, code debugging and code generation were some of the many interesting tasks users showcased on ChatGPT when the chatbot first became popular. However, the tool has its own challenges, such as high-traffic and capacity issues. OpenAI is also struggling to keep up with the costs that it takes to maintain its operations.

With Google’s latest update of Bard, this could be an opportunity for the brand to grab the attention of those interested in a specific niche of generative AI tools and use the ever-changing landscape to its benefit.

Fionna Agomuoh
Fionna Agomuoh is a Computing Writer at Digital Trends. She covers a range of topics in the computing space, including…
ChatGPT: the latest news and updates on the AI chatbot that changed everything
ChatGPT app running on an iPhone.

In the ever-evolving landscape of artificial intelligence, ChatGPT stands out as a groundbreaking development that has captured global attention. From its impressive capabilities and recent advancements to the heated debates surrounding its ethical implications, ChatGPT continues to make headlines.

Whether you're a tech enthusiast or just curious about the future of AI, dive into this comprehensive guide to uncover everything you need to know about this revolutionary AI tool.
What is ChatGPT?
ChatGPT (which stands for Chat Generative Pre-trained Transformer) is an AI chatbot, meaning you can ask it a question using natural language prompts and it will generate a reply. Unlike less-sophisticated voice assistant like Siri or Google Assistant, ChatGPT is driven by a large language model (LLM). These neural networks are trained on huge quantities of information from the internet for deep learning — meaning they generate altogether new responses, rather than just regurgitating canned answers. They're not built for a specific purpose like chatbots of the past — and they're a whole lot smarter. The current version of ChatGPT is based on the GPT-4 model, which was trained on all sorts of written content including websites, books, social media, news articles, and more — all fine-tuned in the language model by both supervised learning and RLHF (Reinforcement Learning From Human Feedback).
When was ChatGPT released?
OpenAI released ChatGPT in November 2022. When it launched, the initial version of ChatGPT ran atop the GPT-3.5 model. In the years since, the system has undergone a number of iterative advancements with the current version of ChatGPT using the GPT-4 model family. GPT-5 is reportedly just around the corner. GPT-3 was first launched in 2020, GPT-2 released the year prior to that, though neither were used in the public-facing ChatGPT system.
Upon its release, ChatGPT's popularity skyrocketed literally overnight. It grew to host over 100 million users in its first two months, making it the most quickly-adopted piece of software ever made to date, though this record has since been beaten by the Twitter alternative, Threads. ChatGPT's popularity dropped briefly in June 2023, reportedly losing 10% of global users, but has since continued to grow exponentially.
How to use ChatGPT
First, go to chatgpt.com. If you'd like to maintain a history of your previous chats, sign up for a free account. You can use the system anonymously without a login if you prefer. Users can opt to connect their ChatGPT login with that of their Google-, Microsoft- or Apple-backed accounts as well. At the sign up screen, you'll see some basic rules about ChatGPT, including potential errors in data, how OpenAI collects data, and how users can submit feedback. If you want to get started, we have a roundup of the best ChatGPT tips.

Read more
ChatGPT Search is here to battle both Google and Perplexity
The ChatGPT Search icon on the prompt window

ChatGPT is receiving its second new search feature of the week, the company announced on Thursday. Dubbed ChatGPT Search, this tool will deliver real-time data from the internet in response to your chat prompts.

ChatGPT Search appears to be both OpenAI's answer to Perplexity and a shot across Google's bow.

Read more
ChatGPT’s Advanced Voice Mode just came to PCs and Macs
ChatGPT Advanced Voice Mode Desktop app

You can now speak directly with ChatGPT right on your PC or Mac, thanks to a new Advanced Voice Mode integration, OpenAI announced on Wednesday. "Big day for desktops," the company declared in an X (formerly Twitter) post.

Advanced Voice Mode (AVM) runs atop the GPT-4o model, OpenAI's current state of the art, and enables the user to speak to the chatbot without the need for text prompts.

Read more