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 did Zhang Xiaolong build the huge business empire of WeChat?

WeChat's business strategy has always been co...

Weird open source component: Play the "Brick Breaker" game in the pull-down refresh

That’s right, now you can play Breakout while you...

I was touched by this old item! Check it out to see if you have used it at home.

In the history of science and technology in our c...

Use "User Story Map" to split requirements and accurately define product MVP

If you are a startup and haven’t used user story ...

Didi Autonomous Driving Receives Investment from GAC Group

On October 12, Didi Autonomous Driving announced ...

Without high technology, how did the ancients keep national security secret?

Throughout the vast course of history, the confid...

Activity operation review data indicators!

After each activity, it is necessary to review th...

This "activated carbon sponge" can directly "grab" carbon dioxide in the air

Produced by: Science Popularization China Author:...

How much does it cost to produce a Qiqihar game mini program?

Mini programs provide convenience for publicity a...

Analysis of Douyin AARRR Traffic Funnel Model

Before formally analyzing the traffic funnel mode...

iPhone XR sales are not good, Apple uses trade-in to offer big discounts

According to foreign media reports, Apple is boos...