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

Travel Sustainably Without Spending Extra featured image
How Can You Travel Sustainably Without Spending Extra? Save On Your Next Trip!
A professional 16:9 featured image for an article on UK tax loopholes, displaying a clean workspace with a calculator, tax documents, and sterling pound symbols, styled with a modern and professional aesthetic. Common and Legal Tax Loopholes in UK
12 Common and Legal Tax Loopholes in UK 2026: The Do's and Don'ts
Goku AI Text-to-Video
Goku AI: The New Text-to-Video Competitor Challenging Sora
US-China Relations 2026
US-China Relations 2026: The "Great Power" Competition Report
AI Market Correction 2026
The "AI Bubble" vs. Real Utility: A 2026 Market Correction?

LIFESTYLE

Travel Sustainably Without Spending Extra featured image
How Can You Travel Sustainably Without Spending Extra? Save On Your Next Trip!
Benefits of Living in an Eco-Friendly Community featured image
Go Green Together: 12 Benefits of Living in an Eco-Friendly Community!
Happy new year 2026 global celebration
Happy New Year 2026: Celebrate Around the World With Global Traditions
dubai beach day itinerary
From Sunrise Yoga to Sunset Cocktails: The Perfect Beach Day Itinerary – Your Step-by-Step Guide to a Day by the Water
Ford F-150 Vs Ram 1500 Vs Chevy Silverado
The "Big 3" Battle: 10 Key Differences Between the Ford F-150, Ram 1500, and Chevy Silverado

Entertainment

Samsung’s 130-Inch Micro RGB TV The Wall Comes Home
Samsung’s 130-Inch Micro RGB TV: The "Wall" Comes Home
MrBeast Copyright Gambit
Beyond The Paywall: The MrBeast Copyright Gambit And The New Rules Of Co-Streaming Ownership
Stranger Things Finale Crashes Netflix
Stranger Things Finale Draws 137M Views, Crashes Netflix
Demon Slayer Infinity Castle Part 2 release date
Demon Slayer Infinity Castle Part 2 Release Date: Crunchyroll Denies Sequel Timing Rumors
BTS New Album 20 March 2026
BTS to Release New Album March 20, 2026

GAMING

Styx Blades of Greed
The Goblin Goes Open World: How Styx: Blades of Greed is Reinventing the AA Stealth Genre.
Resident Evil Requiem Switch 2
Resident Evil Requiem: First Look at "Open City" Gameplay on Switch 2
High-performance gaming setup with clear monitor display and low-latency peripherals. n Improve Your Gaming Performance Instantly
Improve Your Gaming Performance Instantly: 10 Fast Fixes That Actually Work
Learning Games for Toddlers
Learning Games For Toddlers: Top 10 Ad-Free Educational Games For 2026
Gamification In Education
Screen Time That Counts: Why Gamification Is the Future of Learning

BUSINESS

IMF 2026 Outlook Stable But Fragile
Global Economic Outlook: IMF Predicts 3.1% Growth but "Downside Risks" Remain
India Rice Exports
India’s Rice Dominance: How Strategic Export Shifts are Reshaping South Asian Trade in 2026
Mistakes to Avoid When Seeking Small Business Funding featured image
15 Mistakes to Avoid As New Entrepreneurs When Seeking Small Business Funding
Global stock markets break record highs featured image
Global Stock Markets Surge to Record Highs Across Continents: What’s Powering the Rally—and What Could Break It
Embodied Intelligence
Beyond Screen-Bound AI: How Embodied Intelligence is Reshaping Industrial Logistics in 2026

TECHNOLOGY

Goku AI Text-to-Video
Goku AI: The New Text-to-Video Competitor Challenging Sora
AI Market Correction 2026
The "AI Bubble" vs. Real Utility: A 2026 Market Correction?
NVIDIA Cosmos
NVIDIA’s "Cosmos" AI Model & The Vera Rubin Superchip
Styx Blades of Greed
The Goblin Goes Open World: How Styx: Blades of Greed is Reinventing the AA Stealth Genre.
Samsung’s 130-Inch Micro RGB TV The Wall Comes Home
Samsung’s 130-Inch Micro RGB TV: The "Wall" Comes Home

HEALTH

Bio Wearables For Stress
Post-Holiday Wellness: The Rise of "Bio-Wearables" for Stress
ChatGPT Health Medical Records
Beyond the Chatbot: Why OpenAI’s Entry into Medical Records is the Ultimate Test of Public Trust in the AI Era
A health worker registers an elderly patient using a laptop at a rural health clinic in Africa
Digital Health Sovereignty: The 2026 Push for National Digital Health Records in Rural Economies
Digital Detox for Kids
Digital Detox for Kids: Balancing Online Play With Outdoor Fun [2026 Guide]
Worlds Heaviest Man Dies
Former World's Heaviest Man Dies at 41: 1,322-Pound Weight Led to Fatal Kidney Infection