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

How to plan a complete online event? Here is a complete plan

Why is it that with the same budget, the final re...

What kind of shrimp do you like best?

Cat Killing Warning Please bring your own wifi an...

21 ways to help you acquire effective users at low cost!

From the perspective of product operation , how t...

A guide to the pain points of Spring Festival marketing!

As the Spring Festival approaches, the Spring Fes...

We received 109 birds in one day. How to save them?

Our Hongshan: Secrets in the Zoo Wildlife rescue ...

Goodbye! Another major function of QQ Mail is announced to be offline soon

I wonder how long it has been since you last logg...

Kaiyi may end its solo operation and become a subsidiary of Chery Automobile

Kaiyi Automobile was founded in 2014 and is a car...

Until the day before his death, he was still writing in his diary...

"Sunny to cloudy East wind level 1 to 2 This...

How to acquire users and traffic?

Today, let’s discuss with you about user traffic ...

Why is sepsis so likely to kill people? Six facts you must know

Speaking of "sepsis", you may feel unfa...