Re: D for Android beta

2017-09-08 Thread kinke via Digitalmars-d-announce

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.


Re: Hong Kong dlang Meetup

2017-09-08 Thread John Colvin via Digitalmars-d-announce
On Monday, 4 September 2017 at 19:25:59 UTC, Jonathan M Davis 
wrote:
Several of us from the D community will be in Hong Kong on a 
business trip next week (me, John Colvin, Atila Neves, and Ilya 
Yaroshenko), and our client, Symmetry Investments[1], has 
offered to sponsor a dlang meetup. We haven't decided when 
exactly to meet up yet, but we're looking to meet up sometime 
during the week of the 11th - 15th (probably on Thursday or 
Friday evening) and figured that we should see if anyone here 
was interested in showing up and would thus have some stake in 
when during the week it happened.


The current plan is that the meetup will take place at 
Symmetry's main office in Chater House in Central Hong Kong.


- Jonathan M Davis

[1] http://symmetryinvestments.com/about-us/

Some open source dlang stuff whose developement was paid for by 
Symmetry: https://github.com/kaleidicassociates


Of note is https://github.com/kaleidicassociates/excel-d which 
Atila talked about at dconf this year.


We have a date and time: 
https://www.meetup.com//Dlang-Hong-Kong/events/243198527/?showDescription=true


Sorry to those who can't make it, we really wanted to make it 
after the Codeaholics meetup


Re: D for Android beta

2017-09-08 Thread Joakim via Digitalmars-d-announce

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/


Re: [OT] LLVM 5.0 released - LDC mentioned in release notes

2017-09-08 Thread Daniel N via Digitalmars-d-announce

On Friday, 8 September 2017 at 08:40:13 UTC, Brian wrote:

On Thursday, 7 September 2017 at 21:14:24 UTC, bpr wrote:

On Thursday, 7 September 2017 at 20:55:22 UTC, Nordlöw wrote:
Are there any new code-generation features in LLVM 5.0 that 
LDC will make use of?


Given that LLVM has direct support for coroutines since 4.0 
(https://llvm.org/docs/Coroutines.html) I've wondered if D 
(even just LDC D for starters) could use that to implement 
async/await or a similar feature.


C++17 is supported it?


Clang 5 supports C++17 and "C++ coroutines TS"
http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html



Re: [OT] LLVM 5.0 released - LDC mentioned in release notes

2017-09-08 Thread Brian via Digitalmars-d-announce

On Thursday, 7 September 2017 at 21:14:24 UTC, bpr wrote:

On Thursday, 7 September 2017 at 20:55:22 UTC, Nordlöw wrote:
Are there any new code-generation features in LLVM 5.0 that 
LDC will make use of?


Given that LLVM has direct support for coroutines since 4.0 
(https://llvm.org/docs/Coroutines.html) I've wondered if D 
(even just LDC D for starters) could use that to implement 
async/await or a similar feature.


C++17 is supported it?