Thread overview
Re: Bleeding edge
Mar 16, 2015
David Nadlinger
Mar 17, 2015
Dan Olson
Mar 18, 2015
Kai Nacke
Mar 18, 2015
Dan Olson
Mar 21, 2015
Kai Nacke
Mar 23, 2015
Dan Olson
Mar 23, 2015
Dan Olson
Mar 23, 2015
Kai Nacke
March 16, 2015
On 03/16/2015 12:03 PM, Russel Winder via digitalmars-d-ldc wrote:
> Is the bleeding edge currently master or merge-2.067 ?

master. merge-2.067 still needs some work before it is ready for general consumption. We'd love to get pull requests for the latter, though. ;)

 — David
March 17, 2015
David Nadlinger via digitalmars-d-ldc <digitalmars-d-ldc@puremagic.com> writes:

> On 03/16/2015 12:03 PM, Russel Winder via digitalmars-d-ldc wrote:
>> Is the bleeding edge currently master or merge-2.067 ?
>
> master. merge-2.067 still needs some work before it is ready for general consumption. We'd love to get pull requests for the latter, though. ;)
>
>  — David

I started process of updating iOS with merge-2.067.  Function call arg generation and abi code has changed much.  Is there a good commit or pull to look at that summarizes the change?

I got druntime and phobos to build but linker showed me that core.lifetime _d_arraycatnT function is missing.  It has been changed to _d_arraycatnTX.

-extern (C) void[] _d_arraycatnT(const TypeInfo ti, uint n, ...)
+extern (C) void[] _d_arraycatnTX(const TypeInfo ti, byte[][] arrs)


I messed around trying to modify the call in DtoCatArrays, but I don't know how to generate that arrs array and could not find existing examples.  Can somebody help, or is already working on?
-- 
Dan
March 18, 2015
On Tuesday, 17 March 2015 at 15:24:49 UTC, Dan Olson wrote:
> David Nadlinger via digitalmars-d-ldc <digitalmars-d-ldc@puremagic.com> writes:
>
>> On 03/16/2015 12:03 PM, Russel Winder via digitalmars-d-ldc wrote:
>>> Is the bleeding edge currently master or merge-2.067 ?
>>
>> master. merge-2.067 still needs some work before it is ready for
>> general consumption. We'd love to get pull requests for the latter,
>> though. ;)
>>
>>  — David
>
> I started process of updating iOS with merge-2.067.  Function call arg
> generation and abi code has changed much.  Is there a good commit or
> pull to look at that summarizes the change?
>
> I got druntime and phobos to build but linker showed me that
> core.lifetime _d_arraycatnT function is missing.  It has been changed to
> _d_arraycatnTX.
>
> -extern (C) void[] _d_arraycatnT(const TypeInfo ti, uint n, ...)
> +extern (C) void[] _d_arraycatnTX(const TypeInfo ti, byte[][] arrs)
>
>
> I messed around trying to modify the call in DtoCatArrays, but I don't
> know how to generate that arrs array and could not find existing
> examples.  Can somebody help, or is already working on?

Hi Dan!

ABI changes are from pull request 768. It's in master, too.

I try to have a look at the array issue...

Regards,
Kai
March 18, 2015
"Kai Nacke" <kai@redstar.de> writes:
>
> ABI changes are from pull request 768. It's in master, too.
>
> I try to have a look at the array issue...
>
> Regards,
> Kai

Wow, I did not realize the ABI problems others were dealing with.  I only had a few simple changes for iOS but could not merge them with the rewrite and I get LLVM IR errors as is.  I'll read the pull and see how to do things the new way.

Thanks Kai.
March 21, 2015
Hi Dan!

On Wednesday, 18 March 2015 at 06:15:35 UTC, Kai Nacke wrote:
> I try to have a look at the array issue...

I fixed the array issue. The first applications start to run! Nice.

Regards,
Kai
March 23, 2015
"Kai Nacke" <kai@redstar.de> writes:

> Hi Dan!
>
> On Wednesday, 18 March 2015 at 06:15:35 UTC, Kai Nacke wrote:
>> I try to have a look at the array issue...
>
> I fixed the array issue. The first applications start to run! Nice.
>
> Regards,
> Kai

It works!  I have iOS/phobos Hello World working and starting to look at unittests.
March 23, 2015
Dan Olson <zans.is.for.cans@yahoo.com> writes:

> "Kai Nacke" <kai@redstar.de> writes:
>
>> Hi Dan!
>>
>> On Wednesday, 18 March 2015 at 06:15:35 UTC, Kai Nacke wrote:
>>> I try to have a look at the array issue...
>>
>> I fixed the array issue. The first applications start to run! Nice.
>>
>> Regards,
>> Kai
>
> It works!  I have iOS/phobos Hello World working and starting to look at unittests.

I got about 100 unittests to pass on iOS, almost all of druntime and a fair amount of phobos.  Not all the unittests compile.  I see LDC Issue #868, looks like a good place to discuss how to fix some of this.
March 23, 2015
Hi Dan!

On Monday, 23 March 2015 at 03:11:05 UTC, Dan Olson wrote:
>> It works!  I have iOS/phobos Hello World working and starting
>> to look at unittests.

:-)

> I got about 100 unittests to pass on iOS, almost all of druntime and a
> fair amount of phobos.  Not all the unittests compile.  I see LDC Issue
> #868, looks like a good place to discuss how to fix some of this.

Yes, let's use #868 as an umbrella bug report for the merge. Maybe someone else may want to have a look at it?

Regards,
Kai