Google's Bard focuses on creating new ways to engage with information. Reuters
Google's Bard focuses on creating new ways to engage with information. Reuters
Google's Bard focuses on creating new ways to engage with information. Reuters
Google's Bard focuses on creating new ways to engage with information. Reuters

Google adds coding capabilities to Bard


Alkesh Sharma
  • English
  • Arabic

Google said its new generative artificial intelligence tool Bard can now help users write code to develop software, as the company wrestles Microsoft-backed Bing and ChatGPT for a greater share of the generative AI market.

With its new capabilities, Bard will help users with programming and software development tasks, including code generation, debugging and code explanation, the company said on Friday.

Since Bard’s launch in February, coding has been one of the top requests Google has received from its users.

“We are launching these capabilities in more than 20 programming languages including C++, Go, Java, JavaScript, Python and Typescript,” said Paige Bailey, group product manager at Google research.

“And you can easily export Python code to Google Colab — no copy and paste required.”

Besides writing code, Bard can also explain code snippets to users.

“This is particularly helpful if you are learning about programming for the first time, or if you need some additional support to understand what a block of code might output,” Ms Bailey said.

Bard focuses on creating new ways to engage with information, from language and images to videos and audio. In March, Google opened limited public access to select consumers in the US and the UK.

However, Bard so far not gained the kind of traction seen by its rival, the hugely popular ChatGPT, which was launched last year.

The global generative AI market is expected to reach $188.62 billion by 2032, growing at an annual rate of more than 36 per cent, from $8.65 billion last year, data from the Brainy Insights market research company showed. The North American region dominated the market this past year.

Google admits that Bard is still in an early experimental phase, and may sometimes provide inaccurate or misleading information while presenting it confidently.

“When it comes to coding, Bard may give you working code that doesn’t produce the expected output, or provide you with code that is not optimal or incomplete,” Ms Bailey said.

“Always double-check Bard’s responses and carefully test and review code for errors, bugs and vulnerabilities before relying on it.”

In February, Google's parent company Alphabet lost $100 billion in market value after Bard made a factual error in a promotional video.

SPECS

Nissan 370z Nismo

Engine: 3.7-litre V6

Transmission: seven-speed automatic

Power: 363hp

Torque: 560Nm

Price: Dh184,500

MATCH INFO

Euro 2020 qualifier

Norway v Spain, Saturday, 10.45pm, UAE

How%20I%20connect%20with%20my%20kids%20when%20working%20or%20travelling
%3Cp%3E%0D%3Cstrong%3ELittle%20notes%3A%20%3C%2Fstrong%3EMy%20girls%20often%20find%20a%20letter%20from%20me%2C%20with%20a%20joke%2C%20task%20or%20some%20instructions%20for%20the%20afternoon%2C%20and%20saying%20what%20I%E2%80%99m%20excited%20for%20when%20I%20get%20home.%0D%3Cbr%3E%3Cstrong%3EPhone%20call%20check-in%3A%20%3C%2Fstrong%3EMy%20kids%20know%20that%20at%203.30pm%20I%E2%80%99ll%20be%20free%20for%20a%20quick%20chat.%0D%3Cbr%3E%3Cstrong%3EHighs%20and%20lows%3A%20%3C%2Fstrong%3EInstead%20of%20a%20%E2%80%9Chow%20was%20your%20day%3F%E2%80%9D%2C%20at%20dinner%20or%20at%20bathtime%20we%20share%20three%20highlights%3B%20one%20thing%20that%20didn%E2%80%99t%20go%20so%20well%3B%20and%20something%20we%E2%80%99re%20looking%20forward%20to.%0D%3Cbr%3E%3Cstrong%3EI%20start%2C%20you%20next%3A%20%3C%2Fstrong%3EIn%20the%20morning%2C%20I%20often%20start%20a%20little%20Lego%20project%20or%20drawing%2C%20and%20ask%20them%20to%20work%20on%20it%20while%20I%E2%80%99m%20gone%2C%20then%20we%E2%80%99ll%20finish%20it%20together.%0D%3Cbr%3E%3Cstrong%3EBedtime%20connection%3A%20%3C%2Fstrong%3EWake%20up%20and%20sleep%20time%20are%20important%20moments.%20A%20snuggle%2C%20some%20proud%20words%2C%20listening%2C%20a%20story.%20I%20can%E2%80%99t%20be%20there%20every%20night%2C%20but%20I%20can%20start%20the%20day%20with%20them.%0D%3Cbr%3E%3Cstrong%3EUndivided%20attention%3A%20%3C%2Fstrong%3EPutting%20the%20phone%20away%20when%20I%20get%20home%20often%20means%20sitting%20in%20the%20car%20to%20send%20a%20last%20email%2C%20but%20leaving%20it%20out%20of%20sight%20between%20home%20time%20and%20bedtime%20means%20you%20can%20connect%20properly.%0D%3Cbr%3E%3Cstrong%3EDemystify%2C%20don%E2%80%99t%20demonise%20your%20job%3A%20%3C%2Fstrong%3EHelp%20them%20understand%20what%20you%20do%2C%20where%20and%20why.%20Show%20them%20your%20workplace%20if%20you%20can%2C%20then%20it%E2%80%99s%20not%20so%20abstract%20when%20you%E2%80%99re%20away%20-%20they%E2%80%99ll%20picture%20you%20there.%20Invite%20them%20into%20your%20%E2%80%9Cother%E2%80%9D%20world%20so%20they%20know%20more%20about%20the%20different%20roles%20you%20have.%3C%2Fp%3E%0A
T20 World Cup Qualifier

Final: Netherlands beat PNG by seven wickets

Qualified teams

1. Netherlands
2. PNG
3. Ireland
4. Namibia
5. Scotland
6. Oman

T20 World Cup 2020, Australia

Group A: Sri Lanka, PNG, Ireland, Oman
Group B: Bangladesh, Netherlands, Namibia, Scotland

The specs

Engine: 4.0-litre V8 twin-turbocharged and three electric motors

Power: Combined output 920hp

Torque: 730Nm at 4,000-7,000rpm

Transmission: 8-speed dual-clutch automatic

Fuel consumption: 11.2L/100km

On sale: Now, deliveries expected later in 2025

Price: expected to start at Dh1,432,000

Dubai Rugby Sevens

November 30-December 2, at The Sevens, Dubai

Gulf Under 19

Pool A – Abu Dhabi Harlequins, Jumeirah College Tigers, Dubai English Speaking School 1, Gems World Academy

Pool B – British School Al Khubairat, Bahrain Colts, Jumeirah College Lions, Dubai English Speaking School 2

Pool C - Dubai College A, Dubai Sharks, Jumeirah English Speaking School, Al Yasmina

Pool D – Dubai Exiles, Dubai Hurricanes, Al Ain Amblers, Deira International School

ABU%20DHABI'S%20KEY%20TOURISM%20GOALS%3A%20BY%20THE%20NUMBERS
%3Cp%3EBy%202030%2C%20Abu%20Dhabi%20aims%20to%20achieve%3A%3C%2Fp%3E%0A%3Cp%3E%3Cstrong%3E%E2%80%A2%2039.3%20million%20visitors%2C%3C%2Fstrong%3E%20nearly%2064%25%20up%20from%202023%3C%2Fp%3E%0A%3Cp%3E%3Cstrong%3E%E2%80%A2%20Dh90%20billion%20contribution%20to%20GDP%2C%3C%2Fstrong%3E%20about%2084%25%20more%20than%20Dh49%20billion%20in%202023%3C%2Fp%3E%0A%3Cp%3E%3Cstrong%3E%E2%80%A2%20178%2C000%20new%20jobs%2C%3C%2Fstrong%3E%20bringing%20the%20total%20to%20about%20366%2C000%3C%2Fp%3E%0A%3Cp%3E%3Cstrong%3E%E2%80%A2%2052%2C000%20hotel%20rooms%2C%3C%2Fstrong%3E%20up%2053%25%20from%2034%2C000%20in%202023%3C%2Fp%3E%0A%3Cp%3E%3Cstrong%3E%E2%80%A2%207.2%20million%20international%20visitors%2C%3C%2Fstrong%3E%20almost%2090%25%20higher%20compared%20to%202023's%203.8%20million%3C%2Fp%3E%0A%3Cp%3E%3Cstrong%3E%E2%80%A2%203.9%20international%20overnight%20hotel%20stays%2C%3C%2Fstrong%3E%2022%25%20more%20from%203.2%20nights%20in%202023%3C%2Fp%3E%0A
Updated: April 21, 2023, 6:06 PM