www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Issue 3789 and some interesting pull requests

reply "bearophile" <bearophileHUGS lycos.com> writes:
Maybe Kenji and others have fixed one important bug:
http://d.puremagic.com/issues/show_bug.cgi?id=3789

- - - - - - - - - - -

On GitHub there are many open pull requests for dmd, and some of 
them look quite interesting (even if some of them probably need 
to be improved):

This allows to support a[$-1, 2..$], it's useful to implement a 
good vector library in D:
https://github.com/D-Programming-Language/dmd/pull/443

To improve the type merging in array literals:
https://github.com/D-Programming-Language/dmd/pull/684

__ctfeWrite and __ctfeWriteln, I'm asking for a better compile 
time printing since years:
https://github.com/D-Programming-Language/dmd/pull/692

Taking the address of a deprecated function should trigger a 
deprecated message, etc:
https://github.com/D-Programming-Language/dmd/pull/1064

This is for a small but handy change in D that allows to write 
"new C().foo();" instead of "(new C()).foo();".
https://github.com/D-Programming-Language/dmd/pull/1111

Support for T() syntax for build-in types. This avoids to use an 
ugly cast() in some cases:
https://github.com/D-Programming-Language/dmd/pull/1356

Overloading template and non-template functions:
https://github.com/D-Programming-Language/dmd/pull/1409

With value range propagation we can disable some array bound 
tests:
https://github.com/D-Programming-Language/dmd/pull/1493

To improve the use of template functions in different modules:
https://github.com/D-Programming-Language/dmd/pull/1660

Recursive build for the compiler:
https://github.com/D-Programming-Language/dmd/pull/1861

To make D more flexible, allowing the idea of a library-defined 
dup:
https://github.com/D-Programming-Language/dmd/pull/1943

Bye,
bearophile
May 07 2013
next sibling parent Jacob Carlborg <doob me.com> writes:
On 2013-05-08 05:03, bearophile wrote:
 Maybe Kenji and others have fixed one important bug:
 http://d.puremagic.com/issues/show_bug.cgi?id=3789

 - - - - - - - - - - -

 On GitHub there are many open pull requests for dmd, and some of them
 look quite interesting (even if some of them probably need to be improved):

 This allows to support a[$-1, 2..$], it's useful to implement a good
 vector library in D:
 https://github.com/D-Programming-Language/dmd/pull/443

 To improve the type merging in array literals:
 https://github.com/D-Programming-Language/dmd/pull/684

 __ctfeWrite and __ctfeWriteln, I'm asking for a better compile time
 printing since years:
 https://github.com/D-Programming-Language/dmd/pull/692

 Taking the address of a deprecated function should trigger a deprecated
 message, etc:
 https://github.com/D-Programming-Language/dmd/pull/1064

 This is for a small but handy change in D that allows to write "new
 C().foo();" instead of "(new C()).foo();".
 https://github.com/D-Programming-Language/dmd/pull/1111
This one would be really good for DWT.
 Support for T() syntax for build-in types. This avoids to use an ugly
 cast() in some cases:
 https://github.com/D-Programming-Language/dmd/pull/1356

 Overloading template and non-template functions:
 https://github.com/D-Programming-Language/dmd/pull/1409

 With value range propagation we can disable some array bound tests:
 https://github.com/D-Programming-Language/dmd/pull/1493

 To improve the use of template functions in different modules:
 https://github.com/D-Programming-Language/dmd/pull/1660

 Recursive build for the compiler:
 https://github.com/D-Programming-Language/dmd/pull/1861

 To make D more flexible, allowing the idea of a library-defined dup:
 https://github.com/D-Programming-Language/dmd/pull/1943
That's quite a nice bunch of enhancements in the pipeline. -- /Jacob Carlborg
May 07 2013
prev sibling next sibling parent "Dicebot" <m.strashun gmail.com> writes:
On Wednesday, 8 May 2013 at 03:03:16 UTC, bearophile wrote:
  ...
Wow, lot of good stuff implemented and just waiting for approval. Impressive.
May 08 2013
prev sibling parent "Mr. Anonymous" <mailnew4ster gmail.com> writes:
On Wednesday, 8 May 2013 at 03:03:16 UTC, bearophile wrote:
 Maybe Kenji and others have fixed one important bug:
 http://d.puremagic.com/issues/show_bug.cgi?id=3789

 - - - - - - - - - - -

 On GitHub there are many open pull requests for dmd, and some 
 of them look quite interesting (even if some of them probably 
 need to be improved):

 This allows to support a[$-1, 2..$], it's useful to implement a 
 good vector library in D:
 https://github.com/D-Programming-Language/dmd/pull/443

 To improve the type merging in array literals:
 https://github.com/D-Programming-Language/dmd/pull/684

 __ctfeWrite and __ctfeWriteln, I'm asking for a better compile 
 time printing since years:
 https://github.com/D-Programming-Language/dmd/pull/692

 Taking the address of a deprecated function should trigger a 
 deprecated message, etc:
 https://github.com/D-Programming-Language/dmd/pull/1064

 This is for a small but handy change in D that allows to write 
 "new C().foo();" instead of "(new C()).foo();".
 https://github.com/D-Programming-Language/dmd/pull/1111

 Support for T() syntax for build-in types. This avoids to use 
 an ugly cast() in some cases:
 https://github.com/D-Programming-Language/dmd/pull/1356

 Overloading template and non-template functions:
 https://github.com/D-Programming-Language/dmd/pull/1409

 With value range propagation we can disable some array bound 
 tests:
 https://github.com/D-Programming-Language/dmd/pull/1493

 To improve the use of template functions in different modules:
 https://github.com/D-Programming-Language/dmd/pull/1660

 Recursive build for the compiler:
 https://github.com/D-Programming-Language/dmd/pull/1861

 To make D more flexible, allowing the idea of a library-defined 
 dup:
 https://github.com/D-Programming-Language/dmd/pull/1943

 Bye,
 bearophile
Isn't it better to merge these before DDMD?
May 11 2013