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

Top 10 Classic Python Introductory Books

Book Introduction This is a classic Python introd...

Service Mesh Istio Basics and Practice

Introduction to the basics and practical resource...

Why are women shorter than men on average?

I guess everyone has noticed that regardless of e...

Does heading the ball in football really affect the brain?

Compiled by: Gong Zixin At a football game Pass, ...

Content Operation | Three essential elements for a popular article!

A movie cannot have good box office just by havin...

Top 10 frameworks to help you build cool mobile hybrid applications

【51CTO.com Quick Translation】Nowadays, developing...