August 30, 2017
On Saturday, 26 August 2017 at 09:59:33 UTC, Joakim wrote:
> On Thursday, 1 June 2017 at 19:45:17 UTC, Ali Çehreli wrote:
>> Very exciting! :)
>>
>> On 06/01/2017 12:31 PM, Joakim wrote:
>>
>> > I will write up instructions on how to write an Android app
>> in D _on_
>> > your Android device
>>
>> I hope it will be detailed enough for people who are very new to programming on the Android.
>>
>> Ali
>
> I've finally written up full instructions on building D apps for Android by using the linux cross-compiler or native Android compiler I provide:
>
> https://wiki.dlang.org/Build_D_for_Android
>
> The upcoming ldc 1.4 beta will be the first to include Android cross-compilation support for all supported host platforms, ie Windows, Mac, and linux, as all my Android patches have now been merged.  I'll stop putting out my own cross-compiler builds, though I'll maintain the native ldc package in the Termux package repo, once that's accepted.
>
> If you want to build full OpenGLES GUI Android apps on your Android device, this wiki page shows you how to do that too.  You too can be one of the elite few building mobile apps on your mobile device, and in D!

And there is now an ldc package in the Termux Android app, updated the wiki page to show how simple it is to install ldc on your Android device now:

https://wiki.dlang.org/Build_D_for_Android#Native_compilation_2

Make sure to tell everyone you know how easy it is to write D on your Android smartphone or tablet now, just like the Go people have been enjoying:

https://mobile.twitter.com/mattbostock/status/896923877711814657

The Termux twitter highlights those now happy about using Node, Clojure, or Scala on their Android phone, hopefully D is next:

https://mobile.twitter.com/termux

Next up, getting D working on 64-bit ARM devices, which I recently got access to.  David has been working on it already, hope we can get that done by ldc 1.5:

https://github.com/ldc-developers/ldc/issues/2153
September 08, 2017
On Wednesday, 30 August 2017 at 07:09:05 UTC, Joakim wrote:
> On Saturday, 26 August 2017 at 09:59:33 UTC, Joakim wrote:
>> On Thursday, 1 June 2017 at 19:45:17 UTC, Ali Çehreli wrote:
>>> [...]
>>
>> I've finally written up full instructions on building D apps for Android by using the linux cross-compiler or native Android compiler I provide:
>>
>> https://wiki.dlang.org/Build_D_for_Android
>>
>> The upcoming ldc 1.4 beta will be the first to include Android cross-compilation support for all supported host platforms, ie Windows, Mac, and linux, as all my Android patches have now been merged.  I'll stop putting out my own cross-compiler builds, though I'll maintain the native ldc package in the Termux package repo, once that's accepted.
>>
>> If you want to build full OpenGLES GUI Android apps on your Android device, this wiki page shows you how to do that too.  You too can be one of the elite few building mobile apps on your mobile device, and in D!
>
> And there is now an ldc package in the Termux Android app, updated the wiki page to show how simple it is to install ldc on your Android device now:
>
> https://wiki.dlang.org/Build_D_for_Android#Native_compilation_2
>
> Make sure to tell everyone you know how easy it is to write D on your Android smartphone or tablet now, just like the Go people have been enjoying:
>
> https://mobile.twitter.com/mattbostock/status/896923877711814657
>
> The Termux twitter highlights those now happy about using Node, Clojure, or Scala on their Android phone, hopefully D is next:
>
> https://mobile.twitter.com/termux
>
> Next up, getting D working on 64-bit ARM devices, which I recently got access to.  David has been working on it already, hope we can get that done by ldc 1.5:
>
> https://github.com/ldc-developers/ldc/issues/2153

rdmd and dub are now bundled with the native ldc package for Termux, so you can easily write small scripts in D on your phone or build and run tools like DScanner from the D package repository at code.dlang.org.

For example, here's how you install ldc and run DScanner on your codebase to count how many lines of D code it has, all on your smartphone or tablet:

apt install ldc

dub fetch dscanner

dub run dscanner -- -l your-code/
September 08, 2017
On Friday, 8 September 2017 at 11:52:48 UTC, Joakim wrote:
> For example, here's how you install ldc and run DScanner on your codebase to count how many lines of D code it has, all on your smartphone or tablet:
>
> apt install ldc
>
> dub fetch dscanner
>
> dub run dscanner -- -l your-code/

Very nice.
September 10, 2017
On Friday, 8 September 2017 at 11:52:48 UTC, Joakim wrote:
> rdmd and dub are now bundled with the native ldc package for Termux, so you can easily write small scripts in D on your phone or build and run tools like DScanner from the D package repository at code.dlang.org.

Cool:

pkg search ldc
pkg install ldc
plk install vim
vim app.d
import std.stdio;
void main()
{
    writeln("hello d on termux");
}
(volume button up+q)
(ESC button)
:w
:q
ldc2 app.d
./app
hello d on termux

September 14, 2017
On Wednesday, 30 August 2017 at 07:09:05 UTC, Joakim wrote:
[...]
>
> Next up, getting D working on 64-bit ARM devices, which I recently got access to.  David has been working on it already, hope we can get that done by ldc 1.5:
>
> https://github.com/ldc-developers/ldc/issues/2153

64-bit would be cool!
I just connected a normal usb keyboard to my phone, and it already feels like being at home, only D is missing... :D



March 19, 2018
On Wednesday, 30 August 2017 at 07:09:05 UTC, Joakim wrote:
> On Saturday, 26 August 2017 at 09:59:33 UTC, Joakim wrote:
>> On Thursday, 1 June 2017 at 19:45:17 UTC, Ali Çehreli wrote:
>>> Very exciting! :)
>>>
>>> On 06/01/2017 12:31 PM, Joakim wrote:
>>>
>>> > I will write up instructions on how to write an Android app
>>> in D _on_
>>> > your Android device
>>>
>>> I hope it will be detailed enough for people who are very new to programming on the Android.
>>>
>>> Ali
>>
>> I've finally written up full instructions on building D apps for Android by using the linux cross-compiler or native Android compiler I provide:
>>
>> https://wiki.dlang.org/Build_D_for_Android
>>
>> The upcoming ldc 1.4 beta will be the first to include Android cross-compilation support for all supported host platforms, ie Windows, Mac, and linux, as all my Android patches have now been merged.  I'll stop putting out my own cross-compiler builds, though I'll maintain the native ldc package in the Termux package repo, once that's accepted.
>>
>> If you want to build full OpenGLES GUI Android apps on your Android device, this wiki page shows you how to do that too.  You too can be one of the elite few building mobile apps on your mobile device, and in D!
>
> And there is now an ldc package in the Termux Android app, updated the wiki page to show how simple it is to install ldc on your Android device now:
>
> https://wiki.dlang.org/Build_D_for_Android#Native_compilation_2
>
> Make sure to tell everyone you know how easy it is to write D on your Android smartphone or tablet now, just like the Go people have been enjoying:
>
> https://mobile.twitter.com/mattbostock/status/896923877711814657
>
> The Termux twitter highlights those now happy about using Node, Clojure, or Scala on their Android phone, hopefully D is next:
>
> https://mobile.twitter.com/termux
>
> Next up, getting D working on 64-bit ARM devices, which I recently got access to.  David has been working on it already, hope we can get that done by ldc 1.5:
>
> https://github.com/ldc-developers/ldc/issues/2153

I've updated the wiki page with instructions for cross-compiling from macOS:

https://wiki.dlang.org/Build_D_for_Android#Mac

I forgot to mention in here that I added instructions for Windows six months back.

I'm looking at 64-bit AArch64 support, where pretty much all the druntime tests pass with ldc 1.8 because of the great work of David, Kai, and others. The few failures are likely related to emulated TLS not being tied into the GC yet. I'll be working on this port this week.

1 2 3
Next ›   Last »