Re: It's alive! D building D building D, all on Android
On 08 May 2016 02:21, "Joakim via Digitalmars-d-announce" < digitalmars-d-announce@puremagic.com> wrote: > > On Saturday, 7 May 2016 at 09:58:14 UTC, Johan Engelen wrote: >> >> Fantastic news! >> >> I hope we can find a good way to integrate automated testing of github branches/PRs for Android. > > > There is beta support for Android on Travis, perhaps it can be used to run the druntime and phobos tests in an emulator. https://aws.amazon.com/device-farm/
Re: C#7 features
On Friday, 6 May 2016 at 23:51:59 UTC, Steven Schveighoffer wrote: Of COURSE D supports local ref variables: struct RefVar(T) { private T * var; this(ref T v) { var = } auto get() { return *var; } alias this get; } ref get() return {... Which is unsafe even if the ctor is marked trusted, the struct could be moved to a higher scope. But like in another thread, you can have a ref property in @safe code: T v; @property ref myRef(){return v;} So why are ref locals disallowed? Now we have the return attribute on functions that take myRef by ref, can it still escape? ref myRef = v;
Re: Web page listing all D compilers (and DMDFE version!) on travis-ci
On 05/07/2016 05:44 AM, Johan Engelen wrote: What I mean is: currently the Name column says e.g. "ldc2-0.17.1", but in the travis.yml file you must specify "ldc-0.17.1" to get it (without the "2"). Ahh, you're right, I hadn't noticed that.
Re: It's alive! D building D building D, all on Android
Fantastic news! I hope we can find a good way to integrate automated testing of github branches/PRs for Android. cheers, Johan
Re: Web page listing all D compilers (and DMDFE version!) on travis-ci
On Tuesday, 26 April 2016 at 06:42:11 UTC, Nick Sabalausky wrote: https://semitwist.com/travis-d-compilers That's an auto-generated listing of all versions of DMD, GDC and LDC available on travis-ci. Very useful, but perhaps you can list the string one should use to tell Travis to use that version? What I mean is: currently the Name column says e.g. "ldc2-0.17.1", but in the travis.yml file you must specify "ldc-0.17.1" to get it (without the "2"). (If the string is incorrect, the install script will give an error message from which it is not clear at all that the compiler name is not recognized.) Thanks, Johan
Re: It's alive! D building D building D, all on Android
On Thursday, 5 May 2016 at 08:17:07 UTC, Joakim wrote: After a sleepless night of trying to build the latest ldc master branch 2.070.2 on my Android tablet a couple nights ago, almost the full druntime/phobos standard library test suite passes (only one assert in std.conv) and the same for the dmd test suite, with a handful of failures across three modules exclusively testing C/C++ ABI compatibility. [...] Very nice. Thanks for sharing, Joakim. I will certainly be using this later— whenever it is that I eventually emerge from my cave.