Dropbox engineers explain why they gave up sharing code and used native languages

Dropbox engineers explain why they gave up sharing code and used native languages

Dropbox engineers explained in an official blog post why the company abandoned the strategy of sharing code on iOS and Android and switched to using the native languages ​​of each platform . Dropbox initially chose C++ when developing iOS and Android mobile apps. The idea behind it was to write the code once in C++ instead of writing it twice in Java and Objective C respectively.

But now Dropbox has abandoned this strategy and switched to using Swift and Kotlin, the languages ​​of their respective platforms. The reason for this decision is that the hidden overhead of sharing code is actually very high, which is ultimately more expensive than writing the code twice.

Dropbox said that to share code you need to maintain your own frameworks, libraries and development environment, solve the differences between different platforms, and it is becoming increasingly difficult to recruit and retain experienced C++ developers. These expenses ultimately make sharing code not as simple and cheaper as developing with the IDE of each platform.

<<:  Can India become an exciting battlefield for Apple's "PUBG"?

>>:  Ten tips to speed up Android app building

Recommend

LeTV TV "9·19": All doubts turned into jokes

The development of enterprises in the Internet er...

Shandong, “half of it is on the sea”!

What color do you think of when you mention Shand...

How many hairs do you have to lose every day to be at risk of baldness?

One minute with the doctor, the postures keep cha...

Bilibili Product Analysis | "Not just to become the 'Chinese YouTube'!"

Bilibili has developed over the past ten years, f...

Thin, Pleasure World's Thinnest OPPO R5 Comprehensive Experience

For an electronic product, if one aspect of its p...

Five suicide attempts in 20 years: Windows Phone is completely finished

Windows Phone has completely failed. On May 23, Mi...

We drew what the "new classroom" of Tiangong Classroom looks like!

At 14:22 on July 24, China's space station...

The largest pearl in the world is as heavy as a husky

The name of Tridacna is quite obscure, and is gen...

Should brands cultivate KOLs?

According to media reports, in 2020, more than 30...

Microsoft's high-tech HoloLens: Will it take over AR after VR?

The three-day E3 gaming expo in the United States ...

Android has so many problems that Google is preparing for its death

On August 23, Beijing time, according to a report...