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

Android launches another "killer" feature that can reclaim 60% of storage space

Nowadays, smartphones are carrying more and more ...

Google I/O 2021 Developer Conference: Android 12 New Privacy Features

At the Google I/O 2021 Developer Conference held ...

5 steps to quickly get started with Weibo channel operations!

As the gossip center of the entire Internet, Weib...

Methods and strategies for creating hit events!

When user characteristics are strong, fine-graine...

PaPa Pocket Cinema Review: A compact and portable 100-inch TV

In the first quarter of 2015, the smart micro-pro...

How to write a promotional plan and how to package it

1. What is a promotion plan? Before we know how t...

What types of Googlebot are there?

Googlebot is generally called Google robot or Goo...