digitalmars.D - Android development using D
- Gour <gour atmarama.net> Dec 29 2010
- Trass3r <un known.com> Dec 30 2010
- Michel Fortin <michel.fortin michelf.com> Dec 30 2010
- Andre Tampubolon <andre lc.vlsm.org> Dec 30 2010
- Klaim <mjklaim gmail.com> Dec 30 2010
- Johannes Pfau <spam example.com> Dec 31 2010
- Trass3r <un known.com> Dec 31 2010
Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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
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
--00504501424a112bb50498a99d10 Content-Type: text/plain; charset=UTF-8 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/
--00504501424a112bb50498a99d10 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Nope. There is a "native" SDK too. And it have been recently enha= nced to allow native-only application (no java).<div><br><br><div class=3D"= gmail_quote">On Thu, Dec 30, 2010 at 15:50, Michel Fortin <span dir=3D"ltr"=<<a href=3D"mailto:michel.fortin michelf.com">michel.fortin michelf.com=
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;"><div class=3D"im">On 2010-12-30 09:44:46 -0= 500, Trass3r <<a href=3D"mailto:un known.com" target=3D"_blank">un known= .com</a>> said:<br> <br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> Well you can always compile to native ARM code with gdc for example.<br> </blockquote> <br></div> But has the runtime been ported to ARM?<br><font color=3D"#888888"> <br> -- <br> Michel Fortin<br> <a href=3D"mailto:michel.fortin michelf.com" target=3D"_blank">michel.forti= n michelf.com</a><br> <a href=3D"http://michelf.com/" target=3D"_blank">http://michelf.com/</a><b= r> <br> </font></blockquote></div><br></div> --00504501424a112bb50498a99d10--
Dec 30 2010
Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Michel Fortin 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?
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.
Dec 31 2010
But the "native" code still need the VM to run, right?
Nope.
Dec 31 2010









Andre Tampubolon <andre lc.vlsm.org> 