Google’s Dart programming language returns to the spotlight

Comment

Image Credits: timlewisnm

Once upon a time, Google’s Dart programming language seemed ready to take on JavaScript as the default language of the web. Google was even going to give it equal billing with JavaScript in its Chrome browser. But by the time Dart was ready for prime time, JavaScript — and the massive ecosystem around it — was already miles ahead. About a year and a half ago, Google gave up on the idea of Dart as a direct JavaScript competitor and instead repositioned it as a compile-to-JavaScript language along the lines of TypeScript or CoffeeScript.

screenshot-2016-10-25-at-18-37-54Since then, it got rather quiet around Dart. But that’s about to change. Google is hosting a Dart developer conference in Munich this week that marks Dart’s return into the spotlight. Internally, Dart has also been a major success at Google. Both the AdWords and AdSense teams (which drive most of Google’s revenue), as well as the Google Fiber teams, now rely on it to write their consumer-facing web apps. The AdSense update is already live and the next-gen AdWords interface is currently in testing and will launch more broadly in the near future. The Google teams that use it report that it gives them a 25 to 100 percent increase in development speed. Inside of Google, Dart is also now the fastest growing programming language, and the number of lines of Dart code written by Google developers has increased by 3.5x over the course of the last year (though, to be fair, it’s probably starting from a relatively low base, so I would take that “fastest growing” moniker with a grain of salt).

Outside of Google, companies like Wrike, Workiva, Blossom and others have also been using Dart to develop their products, so there is definitely still a Dart user community outside of Google, too.

As Dart co-founder Kasper Lund admitted when I talked to him about Dart’s comeback attempt, the original idea for Dart “may have been too ambitious a start. It was very hard for us to follow that strategy [of building out a Dart runtime in the browser] and target the entire modern web,” he told me. At the same time, though, the team did experience a lot of success with its language and tools without even having the runtime in Chrome. That’s because the team had already built a Dart-to-JavaScript compiler to make sure that the code Dart developers wrote could also run outside of Chrome (even if it would’ve run faster in Chrome).

Having realized that, the team pivoted away from developing a runtime and instead focused all of its energy on the Dart-to-JavaScript compiler and the toolset around it.

Having both the Dart and JavaScript runtime in Chrome actually made it harder for the two languages to interact, Lund tells me. That’s not an issue anymore and the team was able to get rid of all the dependencies it originally built to make that happen. In return, Dart can now more easily work with third-party tools; the one the team has been especially focused on is Angular, Google’s framework for building web and mobile apps.

By default, Angular 2.0 uses Microsoft’s TypeScript as its preferred language. Unsurprisingly, for AngularDart 2.0, which is launching out of beta today, that language is Dart. At its event in Munich this week, the team is also releasing many of the AngularDart Material Design components it developed for its internal teams (think date-picker widgets, etc.) as a developer preview.

As far as the language itself, Dart is getting an optional strong mode that essentially turns Dart into a strongly typed language, as well as generic methods. Google also promises that the compiler can now compile most code to JavaScript in less than a second.

With Flutter, Google is also launching a new project into preview that allows developers to write both iOS and Android apps from a single Dart codebase. Flutter’s widgets use a functional-reactive framework — if that sounds familiar, that’s probably because the overall idea isn’t that different from Facebook’s React Native (something the team freely admits). React Native does have a significant head start, though, but for Google, the overall idea here is to be able to give developers a full Dart toolkit that addresses the majority of use cases.

Given Dart’s popularity inside of Google, Dart is obviously not going away anytime soon. And that’s really the message the company is trying to send this week. Given its history, the team will have to work hard to get outside developers on board, though.

More TechCrunch

Anterior, a company that uses AI to expedite health insurance approval for medical procedures, has raised a $20 million Series A round at a $95 million post-money valuation led by…

Anterior grabs $20M from NEA to expedite health insurance approvals with AI

Welcome back to TechCrunch’s Week in Review — TechCrunch’s newsletter recapping the week’s biggest news. Want it in your inbox every Saturday? Sign up here. There’s more bad news for…

How India’s most valuable startup ended up being worth nothing

If death and taxes are inevitable, why are companies so prepared for taxes, but not for death? “I lost both of my parents in college, and it didn’t initially spark…

Bereave wants employers to suck a little less at navigating death

Google and Microsoft have made their developer conferences a showcase of their generative AI chops, and now all eyes are on next week’s Worldwide Developers Conference, which is expected to…

Apple needs to focus on making AI useful, not flashy

AI systems and large language models need to be trained on massive amounts of data to be accurate but they shouldn’t train on data that they don’t have the rights…

Deal Dive: Human Native AI is building the marketplace for AI training licensing deals

Before Wazer came along, “water jet cutting” and “affordable” didn’t belong in the same sentence. That changed in 2016, when the company launched the world’s first desktop water jet cutter,…

Wazer Pro is making desktop water jetting more affordable

Former Autonomy chief executive Mike Lynch issued a statement Thursday following his acquittal of criminal charges, ending a 13-year legal battle with Hewlett-Packard that became one of Silicon Valley’s biggest…

Autonomy’s Mike Lynch acquitted after US fraud trial brought by HP

Featured Article

What Snowflake isn’t saying about its customer data breaches

As another Snowflake customer confirms a data breach, the cloud data company says its position “remains unchanged.”

20 hours ago
What Snowflake isn’t saying about its customer data breaches

Investor demand has been so strong for Rippling’s shares that it is letting former employees particpate in its tender offer. With one exception.

Rippling bans former employees who work at competitors like Deel and Workday from its tender offer stock sale

It turns out the space industry has a lot of ideas on how to improve NASA’s $11 billion, 15-year plan to collect and return samples from Mars. Seven of these…

NASA puts $10M down on Mars sample return proposals from Blue Origin, SpaceX and others

Featured Article

In 2024, many Y Combinator startups only want tiny seed rounds — but there’s a catch

When Bowery Capital general partner Loren Straub started talking to a startup from the latest Y Combinator accelerator batch a few months ago, she thought it was strange that the company didn’t have a lead investor for the round it was raising. Even stranger, the founders didn’t seem to be…

1 day ago
In 2024, many Y Combinator startups only want tiny seed rounds — but there’s a catch

The keynote will be focused on Apple’s software offerings and the developers that power them, including the latest versions of iOS, iPadOS, macOS, tvOS, visionOS and watchOS.

Watch Apple kick off WWDC 2024 right here

Welcome to Startups Weekly — Haje’s weekly recap of everything you can’t miss from the world of startups. Anna will be covering for him this week. Sign up here to…

Startups Weekly: Ups, downs, and silver linings

HSBC and BlackRock estimate that the Indian edtech giant Byju’s, once valued at $22 billion, is now worth nothing.

BlackRock has slashed the value of stake in Byju’s, once worth $22 billion, to zero

Apple is set to board the runaway locomotive that is generative AI at next week’s World Wide Developer Conference. Reports thus far have pointed to a partnership with OpenAI that…

Apple’s generative AI offering might not work with the standard iPhone 15

LinkedIn has confirmed it will no longer allow advertisers to target users based on data gleaned from their participation in LinkedIn Groups. The move comes more than three months after…

LinkedIn to limit targeted ads in EU after complaint over sensitive data use

Founders: Need plans this weekend? What better way to spend your time than applying to this year’s Startup Battlefield 200 at TechCrunch Disrupt. With Monday’s deadline looming, this is a…

Startup Battlefield 200 applications due Monday

The company is in the process of building a gigawatt-scale factory in Kentucky to produce its nickel-hydrogen batteries.

Novel battery manufacturer EnerVenue is raising $515M, per filing

Meta is quietly rolling out a new “Communities” feature on Messenger, the company confirmed to TechCrunch. The feature is designed to help organizations, schools and other private groups communicate in…

Meta quietly rolls out Communities on Messenger

Featured Article

Siri and Google Assistant look to generative AI for a new lease on life

Voice assistants in general are having an existential moment, and generative AI is poised to be the logical successor.

1 day ago
Siri and Google Assistant look to generative AI for a new lease on life

Education software provider PowerSchool is being taken private by investment firm Bain Capital in a $5.6 billion deal.

Bain to take K-12 education software provider PowerSchool private in $5.6B deal

Shopify has acquired Threads.com, the Sequoia-backed Slack alternative, Threads said on its website. The companies didn’t disclose the terms of the deal but said that the Threads.com team will join…

Shopify acquires Threads (no, not that one)

Featured Article

Bangladeshi police agents accused of selling citizens’ personal information on Telegram

Two senior police officials in Bangladesh are accused of collecting and selling citizens’ personal information to criminals on Telegram.

2 days ago
Bangladeshi police agents accused of selling citizens’ personal information on Telegram

Carta, a once-high-flying Silicon Valley startup that loudly backed away from one of its businesses earlier this year, is working on a secondary sale that would value the company at…

Carta’s valuation to be cut by $6.5 billion in upcoming secondary sale

Boeing’s Starliner spacecraft has successfully delivered two astronauts to the International Space Station, a key milestone in the aerospace giant’s quest to certify the capsule for regular crewed missions.  Starliner…

Boeing’s Starliner overcomes leaks and engine trouble to dock with ‘the big city in the sky’

Rivian needs to sell its new revamped vehicles at a profit in order to sustain itself long enough to get to the cheaper mass market R2 SUV on the road.

Rivian’s path to survival is now remarkably clear

Featured Article

What to expect from WWDC 2024: iOS 18, macOS 15 and so much AI

Apple is hoping to make WWDC 2024 memorable as it finally spells out its generative AI plans.

2 days ago
What to expect from WWDC 2024: iOS 18, macOS 15 and so much AI

As WWDC 2024 nears, all sorts of rumors and leaks have emerged about what iOS 18 and its AI-powered apps and features have in store.

What to expect from Apple’s AI-powered iOS 18 at WWDC 2024

Apple’s annual list of what it considers the best and most innovative software available on its platform is turning its attention to the little guy.

Apple’s Design Awards highlight indies and startups

Meta launched its Meta Verified program today along with other features, such as the ability to call large businesses and custom messages.

Meta rolls out Meta Verified for WhatsApp Business users in Brazil, India, Indonesia and Colombia