February 19, 2018 Re: Beta 2.079.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky (Abscissa) | On Monday, 19 February 2018 at 11:27:11 UTC, Nick Sabalausky (Abscissa) wrote: > On 02/19/2018 05:49 AM, Martin Nowak wrote: >> http://dlang.org/changelog/2.079.0.html > > ...WOW O_o!!!! > > This release is seriously, just...wow! > > One question though: I'm unclear on the "include imports". Do those basically obviate the original purpose of rdmd? Ie, so dmd doesn't need to be passed a list of every individual file to be compiled? Just do this and be done?: > > $ dmd -offoobar -Isource -i=foobar source/foobar/main.d > $ ./foobar > > Or do I misunderstand it? Yes, you didn't misunderstand ;-) `-i` does the dependency resolution which was one of the main use cases for rdmd, but `rdmd` has "pivoted" over time and has still a few nice features: - caching - --eval & --loop - older compilers don't support -i (and IIRC Ian said that he isn't planning on adding it to gdc) -- --makedepend (Makefile dependency output) - shebang ... BTW in case someone is asking: "why was this required?". Try: > rdmd -c -o- foo.d --- pragma(msg, "Hello"); --- tl;dr: `rdmd` invokes dmd twice as it needs a first invocation to figure out which files to import. What the changelog entry sadly doesn't mention is that once -i has been integrated with rdmd, it will make rdmd about 30-40% faster (this integration has been moved to 2.080 as there were some concerns with compatibility of rdmd with older compilers) |
February 19, 2018 Re: Beta 2.079.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | > fold is added to std.parallelism.TaskPool std.parallelism.TaskPool.fold and reduce point to https://dlang.org/phobos-prerelease/std_parallelism_TaskPool.html#.fold and https://dlang.org/phobos-prerelease/std_parallelism_TaskPool.html#.reduce respectively, that can't be found, 404. |
February 19, 2018 Re: Beta 2.079.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to bachmeier | On Monday, 19 February 2018 at 15:45:30 UTC, bachmeier wrote:
> On Monday, 19 February 2018 at 10:49:03 UTC, Martin Nowak wrote:
>> Glad to announce the first beta for the 2.079.0 release, ♥ to the 77 contributors for this release.
>>
>> http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.079.0.html
>>
>> As usual please report any bugs at https://issues.dlang.org
>>
>> - ----
>>
>> This is probably the most feature-laden 2 month release ever.
>> ...
>
> This looks good, but I'm not sure the many new features go well with the "2 month release" thing. I hope there are plans for a longer than usual testing period. Your announcement reads to me like it's going to be a regression bug release.
FYI: _A lot_ of CI automation has been added in the past months. Most notably here is the Project Tester which runs the complete test suite of the most popular DUB projects out there.
At the moment it tests ~40 projects and it has already caught a lot of problems _before_ being merged.
|
February 19, 2018 Re: Beta 2.079.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Eugene Wissner | On Monday, 19 February 2018 at 16:14:46 UTC, Eugene Wissner wrote: >> fold is added to std.parallelism.TaskPool > > std.parallelism.TaskPool.fold and reduce point to https://dlang.org/phobos-prerelease/std_parallelism_TaskPool.html#.fold and https://dlang.org/phobos-prerelease/std_parallelism_TaskPool.html#.reduce respectively, that can't be found, 404. Thanks -> https://github.com/dlang/phobos/pull/6199 (The next time the changelog is updated, the links will be fixed) |
February 19, 2018 Re: Beta 2.079.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Joakim | On Monday, 19 February 2018 at 15:58:57 UTC, Joakim wrote:
> 17. Allow multiple selective imports from different modules in a single import statement
>
> I have a bad feeling that that one is going to be a source of a raft of bugs for years to come.
+1
I'm already hating it, after having read the change log example.
|
February 19, 2018 Re: Beta 2.079.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On 02/19/2018 02:49 AM, Martin Nowak wrote: Thanks Martin! You can add at least the following aliases for the contributor list: acehreli: Ali Çehreli aldacron: Mike Parker Ali |
February 19, 2018 Re: Beta 2.079.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | On Monday, 19 February 2018 at 18:30:56 UTC, Ali Çehreli wrote: > On 02/19/2018 02:49 AM, Martin Nowak wrote: > > Thanks Martin! You can add at least the following aliases for the contributor list: > > acehreli: Ali Çehreli > aldacron: Mike Parker > > Ali ... or you could have used your actual name for your GitHub commits ;-) https://github.com/dlang/tools/pull/322 |
February 19, 2018 Re: Beta 2.079.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Monday, 19 February 2018 at 10:49:03 UTC, Martin Nowak wrote:
> Glad to announce the first beta for the 2.079.0 release, ♥ to the 77 contributors for this release.
>
> - -Martin
Huh? Did I understand right? Just add an empty object.d into your project and --BetterC is now basically needless, plus the executable is most likely even smaller?
And more functions to std.range, my favorite module, yes!
|
February 19, 2018 Re: Beta 2.079.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Seb | On Monday, 19 February 2018 at 16:36:53 UTC, Seb wrote:
>
> FYI: _A lot_ of CI automation has been added in the past months. Most notably here is the Project Tester which runs the complete test suite of the most popular DUB projects out there.
>
> At the moment it tests ~40 projects and it has already caught a lot of problems _before_ being merged.
+1
|
February 19, 2018 Re: Beta 2.079.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Monday, 19 February 2018 at 10:49:03 UTC, Martin Nowak wrote:
> Glad to announce the first beta for the 2.079.0 release, ♥ to the 77 contributors for this release.
>
> [...]
This release is fantastic!
In the change log information about lld linker is missing. Maybe you can add
some info how to use it instead of link.exe (the OMF one).
Kind regards
André
|
Copyright © 1999-2021 by the D Language Foundation