digitalmars.D - Android development using D
- Gour (10/10) Dec 29 2010 Hello,
- Trass3r (2/2) Dec 30 2010 Well you can always compile to native ARM code with gdc for example.
- Michel Fortin (6/7) Dec 30 2010 But has the runtime been ported to ARM?
- Klaim (3/11) Dec 30 2010 Nope. There is a "native" SDK too. And it have been recently enhanced to
- Andre Tampubolon (4/16) Dec 30 2010 --
- Trass3r (1/2) Dec 31 2010 Nope.
- Johannes Pfau (14/17) Dec 31 2010 There was no explicit porting, but I think it just works. I compiled a
Hello, What is the prospect of developing applications for Android using D? I'm aware there is qt-android (http://code.google.com/p/android-lighthouse/) which may be used (with QtD), but wonder if there would be some other solution as well? Sincerely, Gour --=20 Gour | Hlapicina, Croatia | GPG key: CDBF17CA ----------------------------------------------------------------
Dec 29 2010
Well you can always compile to native ARM code with gdc for example. But normal apps use Java.
Dec 30 2010
On 2010-12-30 09:44:46 -0500, Trass3r <un known.com> said:Well you can always compile to native ARM code with gdc for example.But has the runtime been ported to ARM? -- Michel Fortin michel.fortin michelf.com http://michelf.com/
Dec 30 2010
Nope. There is a "native" SDK too. And it have been recently enhanced to allow native-only application (no java). On Thu, Dec 30, 2010 at 15:50, Michel Fortin <michel.fortin michelf.com>wrote:On 2010-12-30 09:44:46 -0500, Trass3r <un known.com> said: Well you can always compile to native ARM code with gdc for example.But has the runtime been ported to ARM? -- Michel Fortin michel.fortin michelf.com http://michelf.com/
Dec 30 2010
But the "native" code still need the VM to run, right? On 31-Dec-10 7:09 AM, Klaim wrote:Nope. There is a "native" SDK too. And it have been recently enhanced to allow native-only application (no java). On Thu, Dec 30, 2010 at 15:50, Michel Fortin <michel.fortin michelf.com <mailto:michel.fortin michelf.com>> wrote: On 2010-12-30 09:44:46 -0500, Trass3r <un known.com <mailto:un known.com>> said: Well you can always compile to native ARM code with gdc for example. But has the runtime been ported to ARM? -- Michel Fortin michel.fortin michelf.com <mailto:michel.fortin michelf.com> http://michelf.com/-- - Andre Tampubolon -
Dec 30 2010
But the "native" code still need the VM to run, right?Nope.
Dec 31 2010
Michel Fortin wrote:On 2010-12-30 09:44:46 -0500, Trass3r <un known.com> said:There was no explicit porting, but I think it just works. I compiled a hello world with gdc2 for ARM some time ago and it basically worked. If optimization is enabled though, all programs enter an infinite loop, see: https://bitbucket.org/goshawk/gdc/issue/120/gc-enters-an-infinite-loop-on-a= rm When I was trying to debug that issue I also enabled the GC debug output and everything was correct. The gc collected objects and freed memory as it should. Iain pushed some fixes to the floating point control in phobos, but that's the only ARM specific change I'm aware of. But generating code for Android could be more complicated. I'm not sure if the NDK is enough. Maybe you'd have to root your phone, but then it should be possible.Well you can always compile to native ARM code with gdc for example.But has the runtime been ported to ARM?
Dec 31 2010