What is the current state of D for android development?

Paulo Pinto pjmlp at progtools.org
Sat Mar 30 15:17:53 PDT 2013


On 30.03.2013 16:46, Nick Sabalausky wrote:
> On Sat, 30 Mar 2013 10:53:31 +0100
> Paulo Pinto <pjmlp at progtools.org> wrote:
>
>>
>> This is how Windows Phone 8 works, by using an offline compiler on
>> Windows Store to compile .NET to native code, thus you only install
>> native code, there is no JIT on the devices.
>>
>
> Unless the bytecode is both comparable to LLVM and has an escape hatch
> to include real pre-compiled binary data, then that still bugs me.
>
> STill a huge improvement over Android, though. Well, except that the
> user has to use Win8 ;)
>

They use a format known as MDIL (Machine Dependent Intermediate Language).

Basically everything is compiled down to machine code, except for memory
references and labels.

Linking is performed at installation time on the device. This allows the
code to be made available in native format, while keeping the 
flexibility of dynamic libraries to be in sync with operating system 
updates.

More information here,

http://channel9.msdn.com/Shows/Going+Deep/Mani-Ramaswamy-and-Peter-Sollich-Inside-Compiler-in-the-Cloud-and-MDIL

http://channel9.msdn.com/Events/Build/2012/3-005

--
Paulo


More information about the Digitalmars-d mailing list