Google’s AI “Bard” Chatbot Can Now Generate Code in 20 Languages

Bard to Switch up to Powerful Language Model

Listen to the Podcast:

Google, a big company based in Mountain View, didn’t want to be left out of a Silicon Valley arms race, so it came out with its own chatbot AI, called Bard, to compete with GPT and Claude.

When trained on a lot of text, these big language models can come up with some pretty cool stuff. OpenAI’s GPT-4 has shown some amazing coding skills, most famously by turning a napkin sketch into a working website.

Specialized AI coding systems like Github’s Copilot (which is driven by OpenAI) and Replit’s Ghostwriter are already available to the public and show a lot of promise for making programmers more productive.

In recent updates, Google Bard has included a suite of coding capabilities that, in addition to offering explanations of what the code does, are aimed to assist in the management of a variety of software and program development chores.

In the AI wars, Microsoft-backed OpenAI and even smaller rivals like Anthropic have put Google in an unusual situation. As of last month, when TechCrunch asked Google Bard, GPT-4, and Claude to write some simple code head-to-head, Bard just said no. GPT-4 and Claude, on the other hand, wrote code that worked, even if it had some bugs.

Now, Google has released a set of coding features for Bard that are meant to help with different software and program development tasks and explain what the code does. This may be especially helpful for new programmers or programmers who are trying out a new language or application.

“Since we launched Bard, our experiment that lets you work together with generative AI, coding has been one of our users’ top requests,” Paige Bailey, group product manager at Google Research, wrote in a blog post announcing the new features.

From internal letters, Insider learned that Google’s own engineers had been testing the AI before it was released.

Bailey said that Bard can now code in more than 20 different computer languages. TechCrunch said that the computer polyglot can work with C++, Go, Java, Javascript, Typescript, and Python. It can also translate from one language to another. Also, the AI can now write functions for Google Sheets. When it uses open source code, it will also give credit to the source.

Bard can not only write code, but also help it work better.

“In many cases, Bard can also help you optimize your code by making it faster or more efficient,” Bailey said. “Just answer Bard’s first output with “Could you please make that code faster?” or “Find error handling sections you might have missed.”

AIs are not perfect. Anyone who has asked ChatGPT to do some easy math, quote a scientific study, or give them a jailbreak hack knows this. They “hallucinate,” which means that they just make things up. They also come to wrong conclusions with the faith of a high school quarterback in a soft conference.

Bailey said, “Bard is still a new experiment, and it may sometimes give wrong, misleading, or false information in a confident way.” “When it comes to coding, Bard may give you code that works but doesn’t do what you want it to do, or code that isn’t the best or isn’t complete.”

Bailey said that before adding the chatbot’s code, you should check it twice and look closely for mistakes or security holes. Bard can fix bugs in code, even its own. Just tell it something didn’t work and ask it to try to fix it, and the AI will do its best.

Bailey said, “Now that we have new coding skills, we’re excited to use generative AI to speed up software development, spur innovation, and help people solve hard engineering problems.”


Subscribe to Our Newsletter

Related Articles

Top Trending

On This Day June 19
On This Day June 19: History, Famous Birthdays, Deaths & Global Events
Rank Tracking Tools
The 11 Best Rank Tracking Tools For Every Purpose
Best Keyword Research Tools
The 9 Best Keyword Research Tools Compared
7 AI Workflows for E-Commerce Brands to Increase Sales and Automate Growth
7 AI Workflows for E-Commerce Brands to Increase Sales and Automate Growth
AI Music Generation
The Reality Behind the Magic of AI Music Generation

Fintech & Finance

Using an SIP Return Calculator for Mutual Fund Investment Planning
Using an SIP Return Calculator for Mutual Fund Investment Planning
Split AC Installation Tips
Buying a Split AC in 2026: Six Installation Tips to Know Before the Technician Arrives
Multi Asset Allocation Fund: Simple Diversification for Investors
Multi Asset Allocation Fund - A Single Fund Approach for Investors Who Want Diversification Without the Guesswork
Building Wealth Through Cashflow Investing for Time-Rich Lifestyles
Building Wealth Through Cashflow Investing for Time-Rich Lifestyles
accepting USDT payments
Streamlining Operations: Why Businesses Are Adopting USDT

Sustainability & Living

sustainable home goods brands
7 Sustainable Home Goods Brands for a Lower-Waste Home
Compostable Adhesive Tech
6 US SMEs Perfecting Compostable Adhesive Tech for Zero-Waste Brands
sustainable childrens brand
9 Sustainable Children’s Brands Parents Can Actually Trust
Sustainable Footwear Brands
10 Sustainable Footwear Brands for Eco Shoes That Actually Feel Worth Buying
6 Coffee Room Ideas Every Coffee Lover Should Add at Home
6 Coffee Room Ideas Every Coffee Lover Should Add at Home

GAMING

Gaming Genres Guide
The Ultimate Gaming Genres Guide: From RPG Mechanics to Esports Mastery
Best Game Streaming Platforms
7 Best Game Streaming Platforms Compared for Creators, Gamers, and Growing Channels
Online Gaming Brands
What Online Brands Can Learn from Casino Sites in 2026 and Beyond
best indie gaming communities
9 Best Indie Gaming Communities for Gamers, Developers, and Hidden-Gem Hunters
Visual Novels and Narrative Games
Visual Novels and Narrative Games Explained: Why Story Beats Mechanics

Business & Marketing

7 AI Workflows for E-Commerce Brands to Increase Sales and Automate Growth
7 AI Workflows for E-Commerce Brands to Increase Sales and Automate Growth
SaaS growth marketing
SaaS Growth and Marketing Complete Guide: A Practical Roadmap
Product-Led Growth Fundamentals
Product-Led Growth Fundamentals: A Practical Guide for SaaS Teams
Elon Musk Trillionaire: How Elon Musk & SpaceX Reengineered Global Power
Elon Musk and the Trillionaire Threshold: What It Means for Global Capitalism, Markets and Power
Technical SEO Startup for B2B Tech In Canada
10 Technical SEO Startups Boosting Revenue for B2B Tech Companies In Canada

Technology & AI

7 AI Workflows for E-Commerce Brands to Increase Sales and Automate Growth
7 AI Workflows for E-Commerce Brands to Increase Sales and Automate Growth
AI Music Generation
The Reality Behind the Magic of AI Music Generation
AI podcast production
AI Podcast Production: A Practical Workflow for Planning, Editing, and Publishing Better Episodes
AI Workflows Authors
9 AI Workflows for Authors to Write, Edit and Publish Faster
beta testing saas
How to Build Beta Testing Program for SaaS That Actually Improves Your Product

Fitness & Wellness

best healthy habits
33 Healthy Habits Worth Building This Year
eating for fitness goals
Eating for Specific Fitness Goals: How to Eat for Muscle Gain, Fat Loss and Performance
Plant-Based Diets for Athletes
Plant-Based Diets for Athletes
pre post workout nutrition
Pre and Post-Workout Nutrition: What to Eat Before and After Exercise?
hydration science explained
Hydration Science Explained: A Practical Guide to Water, Sweat, Electrolytes, and Fitness