ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #18519
Re: Question about convergence
On 27.02.2016 13:55, Stephen M. Webb wrote:
> On 16-02-27 07:30 AM, Marcos Alonso wrote:
>> Hi to all.
>>
>> I have a question regarding convergence. My apollogies if is too basic but
>> I' m not a developer!
>>
>> I undrestood the convergence target is like a unique code for all the
>> devices.
>
> That's a little ambiguous. To be precise: the target is a single OS for all devices.
>
>> That should mean that any application should work independently if is being
>> used on a tablet, phone or PC.
>
> Correct.
>
>> However, each device may have a different processor architechture (i.e. ARM
>> or x86).
>>
>> So, a binary compiled for a certain processor architecture will only work
>> on it.
>
> Again, correct.
>
>> Is there, then, the possibility of using the same code for more than one
>> architecture or needs to be different? I mean, using it for several
>> architectures is just a matter of the compiler?
>
> Ubuntu is compiled for a range of architectures from a single source code base. From time to time it is necessary to
> use different branches of code for different architectures, but it is a rarity and usually a corner case encountered
> only in advanced uses. It is also possible to program using arch-independent tools such as Python, but if you stick to
> using the Ubuntu SDK to develop applications you're unlikely to have any problems with portability.
>
> You can not install, for example, an application compiled for Intel x86 architecture on an ARM phone which is why
> Microsoft's "Continuum" is currently so limited. Third-party software distributors will need to build and package for
> all target architectures to take advantage of convergence. It's easy to do that for Ubuntu through the facilities at
> Launchpad.net, but testing on different devices is still up to developers.
To add to that, for 3rd party apps using click packages, the intended
approach is to create fat packages, meaning that a single click would
have multiple binaries, compiled for each architecture in it.
This is currently already the case for most (if not all) of the core
apps in the store.
Br,
Michael
Attachment:
signature.asc
Description: OpenPGP digital signature
Follow ups
References