Re: Request for testers: GDC-5.1 Release Candidate branched

2015-04-20 Thread Iain Buclaw via Digitalmars-d
On 19 April 2015 at 20:39, Brian via Digitalmars-d
digitalmars-d@puremagic.com wrote:
 On Sunday, 19 April 2015 at 12:04:19 UTC, Stefan Frijters wrote:

 On Sunday, 19 April 2015 at 07:13:16 UTC, Iain Buclaw wrote:

 Hi,

 GCC-5.1 has hit RC, and so it's all rush again to get bug fixes in
 quick before the window closes.

 Packages are up on Debian: https://packages.debian.org/experimental/gdc-5

 Latest changes however are on github:
 https://github.com/D-Programming-GDC/GDC/tree/gdc-5

 Updates/Fixes from gdc-4.9 include:
 - Front-end updated from 2.065.0 to 2.066.1
 - Added goto support for GDC Extended Inline Assembler
 - Added -fbounds-check=safe compiler option
 - Added Runtime support for EMUTLS targets
 - Added new gcc.attributes section, weak and alias
 - Partially fixed thunk support for externally referenced methods
 (only variadic methods now don't work)
 - Improved Closure/Frame chaining, all tests now passing in the
 testsuite[1]
 - Improved NRVO support to take advantage of Return Slot Optimisation
 (RSO), all tests now passing in the testsuite[2]

 Last feature I am working on getting in is runtime exception chaining
 support.  If anyone has any grand ideas, they'd be more than welcome.

 [1]:
 https://github.com/D-Programming-GDC/GDC/commit/84e77850a4e9184526d9b571fb8bdfda4dc103a1#diff-cbd05be6883e1f976bc2eee00b1e6bcaL2442
 [2]:
 https://github.com/D-Programming-GDC/GDC/commit/b9bbf568c20d806bc8570c8cefe41bf57c729bb1#diff-2a4fd18a3f136c982c89e12064e0b6baL551


 Regards
 Iain.


 I don't have too much to report (which is a good thing in this case): I
 did a fresh install from source, following [1], and I didn't encounter any
 problems. I was already compiling my code with an earlier GDC version that
 used the 2.066.1 front-end (which is required for my code) because it gives
 me a 2.5x speed increase for my code execution (in my Linux VM at least), so
 I love the new release already :-D

 Cheers,

 Stefan

 [1] http://wiki.dlang.org/GDC/Installation/Generic


 thank you for work, i like it :)
 but, this version support android?

There should be no reason for compiler not to support Android, but as
far as I know, D runtime support is still missing.  This is in the
hands of upstream library development.

See: https://github.com/D-Programming-Language/druntime/pull/1010

Regards
Iain.


Re: Request for testers: GDC-5.1 Release Candidate branched

2015-04-20 Thread Iain Buclaw via Digitalmars-d
On 19 April 2015 at 18:36, Iain Buclaw ibuc...@gdcproject.org wrote:
 On 19 April 2015 at 13:52, Iain Buclaw ibuc...@gdcproject.org wrote:
 On 19 April 2015 at 13:50, Iain Buclaw ibuc...@gdcproject.org wrote:
 On 19 April 2015 at 09:13, Iain Buclaw ibuc...@gdcproject.org wrote:

 Last feature I am working on getting in is runtime exception chaining
 support.  If anyone has any grand ideas, they'd be more than welcome.


 First attempt:
 https://github.com/D-Programming-GDC/GDC/compare/master...ibuclaw:eh_chaining

 Can someone have a review?  In particular, I'd like to know when and
 when not to chain Exception and/or Error objects together.


 For instance, if a new exception is thrown inside a catch handler,
 what then?  If a caught exception is thrown, what then?


 Ah ha!  After some pretty intense studying, looks like libunwind gives
 enough information for us to distinguosh which thrown objects should
 be stringed together.

 All what I think is needed is for gdc to emit some __begin_catch call
 which builds and returns the constructed Exception object to be passed
 to user-land.


https://github.com/D-Programming-GDC/GDC/pull/98


Request for testers: GDC-5.1 Release Candidate branched

2015-04-19 Thread Iain Buclaw via Digitalmars-d
Hi,

GCC-5.1 has hit RC, and so it's all rush again to get bug fixes in
quick before the window closes.

Packages are up on Debian: https://packages.debian.org/experimental/gdc-5

Latest changes however are on github:
https://github.com/D-Programming-GDC/GDC/tree/gdc-5

Updates/Fixes from gdc-4.9 include:
- Front-end updated from 2.065.0 to 2.066.1
- Added goto support for GDC Extended Inline Assembler
- Added -fbounds-check=safe compiler option
- Added Runtime support for EMUTLS targets
- Added new gcc.attributes section, weak and alias
- Partially fixed thunk support for externally referenced methods
(only variadic methods now don't work)
- Improved Closure/Frame chaining, all tests now passing in the testsuite[1]
- Improved NRVO support to take advantage of Return Slot Optimisation
(RSO), all tests now passing in the testsuite[2]

Last feature I am working on getting in is runtime exception chaining
support.  If anyone has any grand ideas, they'd be more than welcome.

[1]: 
https://github.com/D-Programming-GDC/GDC/commit/84e77850a4e9184526d9b571fb8bdfda4dc103a1#diff-cbd05be6883e1f976bc2eee00b1e6bcaL2442
[2]: 
https://github.com/D-Programming-GDC/GDC/commit/b9bbf568c20d806bc8570c8cefe41bf57c729bb1#diff-2a4fd18a3f136c982c89e12064e0b6baL551


Regards
Iain.


Re: Request for testers: GDC-5.1 Release Candidate branched

2015-04-19 Thread Iain Buclaw via Digitalmars-d
On 19 April 2015 at 09:13, Iain Buclaw ibuc...@gdcproject.org wrote:

 Last feature I am working on getting in is runtime exception chaining
 support.  If anyone has any grand ideas, they'd be more than welcome.


First attempt:
https://github.com/D-Programming-GDC/GDC/compare/master...ibuclaw:eh_chaining

Can someone have a review?  In particular, I'd like to know when and
when not to chain Exception and/or Error objects together.

Regards
Iain.


Re: Request for testers: GDC-5.1 Release Candidate branched

2015-04-19 Thread Iain Buclaw via Digitalmars-d
On 19 April 2015 at 13:50, Iain Buclaw ibuc...@gdcproject.org wrote:
 On 19 April 2015 at 09:13, Iain Buclaw ibuc...@gdcproject.org wrote:

 Last feature I am working on getting in is runtime exception chaining
 support.  If anyone has any grand ideas, they'd be more than welcome.


 First attempt:
 https://github.com/D-Programming-GDC/GDC/compare/master...ibuclaw:eh_chaining

 Can someone have a review?  In particular, I'd like to know when and
 when not to chain Exception and/or Error objects together.


For instance, if a new exception is thrown inside a catch handler,
what then?  If a caught exception is thrown, what then?

Regards
Iain.


Re: Request for testers: GDC-5.1 Release Candidate branched

2015-04-19 Thread Stefan Frijters via Digitalmars-d

On Sunday, 19 April 2015 at 07:13:16 UTC, Iain Buclaw wrote:

Hi,

GCC-5.1 has hit RC, and so it's all rush again to get bug fixes 
in

quick before the window closes.

Packages are up on Debian: 
https://packages.debian.org/experimental/gdc-5


Latest changes however are on github:
https://github.com/D-Programming-GDC/GDC/tree/gdc-5

Updates/Fixes from gdc-4.9 include:
- Front-end updated from 2.065.0 to 2.066.1
- Added goto support for GDC Extended Inline Assembler
- Added -fbounds-check=safe compiler option
- Added Runtime support for EMUTLS targets
- Added new gcc.attributes section, weak and alias
- Partially fixed thunk support for externally referenced 
methods

(only variadic methods now don't work)
- Improved Closure/Frame chaining, all tests now passing in the 
testsuite[1]
- Improved NRVO support to take advantage of Return Slot 
Optimisation

(RSO), all tests now passing in the testsuite[2]

Last feature I am working on getting in is runtime exception 
chaining
support.  If anyone has any grand ideas, they'd be more than 
welcome.


[1]: 
https://github.com/D-Programming-GDC/GDC/commit/84e77850a4e9184526d9b571fb8bdfda4dc103a1#diff-cbd05be6883e1f976bc2eee00b1e6bcaL2442
[2]: 
https://github.com/D-Programming-GDC/GDC/commit/b9bbf568c20d806bc8570c8cefe41bf57c729bb1#diff-2a4fd18a3f136c982c89e12064e0b6baL551



Regards
Iain.


I don't have too much to report (which is a good thing in this 
case): I did a fresh install from source, following [1], and I 
didn't encounter any problems. I was already compiling my code 
with an earlier GDC version that used the 2.066.1 front-end 
(which is required for my code) because it gives me a 2.5x speed 
increase for my code execution (in my Linux VM at least), so I 
love the new release already :-D


Cheers,

Stefan

[1] http://wiki.dlang.org/GDC/Installation/Generic


Re: Request for testers: GDC-5.1 Release Candidate branched

2015-04-19 Thread Brian via Digitalmars-d

On Sunday, 19 April 2015 at 12:04:19 UTC, Stefan Frijters wrote:

On Sunday, 19 April 2015 at 07:13:16 UTC, Iain Buclaw wrote:

Hi,

GCC-5.1 has hit RC, and so it's all rush again to get bug 
fixes in

quick before the window closes.

Packages are up on Debian: 
https://packages.debian.org/experimental/gdc-5


Latest changes however are on github:
https://github.com/D-Programming-GDC/GDC/tree/gdc-5

Updates/Fixes from gdc-4.9 include:
- Front-end updated from 2.065.0 to 2.066.1
- Added goto support for GDC Extended Inline Assembler
- Added -fbounds-check=safe compiler option
- Added Runtime support for EMUTLS targets
- Added new gcc.attributes section, weak and alias
- Partially fixed thunk support for externally referenced 
methods

(only variadic methods now don't work)
- Improved Closure/Frame chaining, all tests now passing in 
the testsuite[1]
- Improved NRVO support to take advantage of Return Slot 
Optimisation

(RSO), all tests now passing in the testsuite[2]

Last feature I am working on getting in is runtime exception 
chaining
support.  If anyone has any grand ideas, they'd be more than 
welcome.


[1]: 
https://github.com/D-Programming-GDC/GDC/commit/84e77850a4e9184526d9b571fb8bdfda4dc103a1#diff-cbd05be6883e1f976bc2eee00b1e6bcaL2442
[2]: 
https://github.com/D-Programming-GDC/GDC/commit/b9bbf568c20d806bc8570c8cefe41bf57c729bb1#diff-2a4fd18a3f136c982c89e12064e0b6baL551



Regards
Iain.


I don't have too much to report (which is a good thing in this 
case): I did a fresh install from source, following [1], and I 
didn't encounter any problems. I was already compiling my code 
with an earlier GDC version that used the 2.066.1 front-end 
(which is required for my code) because it gives me a 2.5x 
speed increase for my code execution (in my Linux VM at least), 
so I love the new release already :-D


Cheers,

Stefan

[1] http://wiki.dlang.org/GDC/Installation/Generic


thank you for work, i like it :)
but, this version support android?


Re: Request for testers: GDC-5.1 Release Candidate branched

2015-04-19 Thread Iain Buclaw via Digitalmars-d
On 19 April 2015 at 13:52, Iain Buclaw ibuc...@gdcproject.org wrote:
 On 19 April 2015 at 13:50, Iain Buclaw ibuc...@gdcproject.org wrote:
 On 19 April 2015 at 09:13, Iain Buclaw ibuc...@gdcproject.org wrote:

 Last feature I am working on getting in is runtime exception chaining
 support.  If anyone has any grand ideas, they'd be more than welcome.


 First attempt:
 https://github.com/D-Programming-GDC/GDC/compare/master...ibuclaw:eh_chaining

 Can someone have a review?  In particular, I'd like to know when and
 when not to chain Exception and/or Error objects together.


 For instance, if a new exception is thrown inside a catch handler,
 what then?  If a caught exception is thrown, what then?


Ah ha!  After some pretty intense studying, looks like libunwind gives
enough information for us to distinguosh which thrown objects should
be stringed together.

All what I think is needed is for gdc to emit some __begin_catch call
which builds and returns the constructed Exception object to be passed
to user-land.

Regards
Iain.