Google’s Bard AI now writes and generates code in multiple programming languages

In an effort to catch up with Microsoft, Google made Bard AI public last month. The release of ChatGPT, a chatbot made by the startup OpenAI, which was backed by Microsoft, last year sped up the tech industry’s efforts to make AI easier for people to use.

Alphabet Inc.’s Google said on Friday that it will improve its creative AI chatbot Bard to help people write code for software. With this move, the company is trying to keep up with how quickly AI technology is changing.

In an effort to catch up with Microsoft, Google made Bard public last month. The release of ChatGPT, a chatbot made by the startup OpenAI, which was backed by Microsoft, last year sped up the tech industry’s efforts to make AI easier for people to use.

Google says that Bard is an experiment that helps people work together with generative AI. This is a technology that uses data from the past to make new material instead of identifying it.

Google said on Friday that Bard will be updated so that it can write code in 20 computer languages, including Java, C++, and Python. Bard will also help users fix bugs and understand how code works.

We write a prompt to create create a code for numerical procedural code in JavaScript.

Bard AI prompt

Amazingly, Bard AI responds to JavaScript code. And he writes code much more quickly than ChatGPT.

The company also said that Bard can improve the speed or efficiency of code by asking simple questions like

“Could you make that code faster?”

Google only made the Bard AI available in the United Kingdom and the United States. They can talk to the robot by asking questions instead of using Google’s regular search tool.