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

I have summarized four tips on getting along with customers

For a marketer , long vacations have many benefit...

Apple Watch: First launch may include China

[[128413]] Apple CEO Tim Cook gave a speech to em...

Swallowing gold is a form of "suicide", why do some people still eat gold?

Many businesses will add some gold foil to foods ...

10 basic skills necessary for operating Douyin

Douyin became a huge hit like a bolt from the blu...

iOS source code download: stacked cells in groups

Supported platforms: iOS Operating environment: i...

This parrot's dopamine dressing style is really hard to learn!

The gateway to the eastern and western hemisphere...

How to place KOLs on Weibo and WeChat to achieve the maximum effect?

Kol, Key Opinion Leader, is basically those peopl...

Perfect Diary’s community operation method!

1. Introduction I will not go into details about ...

How did potatoes, once “unpopular”, make a comeback?

Hey? Whose snacks are these? Put them away! You a...

Google Maps Super Heavy Update: Offline Maps

Google Maps is a map service loved by many people ...