digitalmars.D.announce - Release D 2.101.0
- Iain Buclaw (10/10) Nov 15 2022 Glad to announce D 2.101.0, ♥ to the 63 contributors.
- M.M. (3/4) Nov 15 2022 fantastic! thank you everyone that contributed or otherwise
- Mathias LANG (6/16) Nov 15 2022 Thanks a lot for getting this through the finish line!
- zjh (3/5) Nov 15 2022 Thank you very much, but can we have commands like `'dmd update'`
- Steven Schveighoffer (4/11) Nov 15 2022 https://github.com/jacob-carlborg/dvm
- torhu (7/8) Nov 15 2022 For some reason my project build fails with this version, but
- rikki cattermole (2/10) Nov 15 2022 Yeah, you'll want to use dustmite. Hopefully the project isn't too big.
- torhu (4/6) Nov 27 2022 I haven't figured out how to use DustMite, but the error goes
- SHOO (27/33) Dec 03 2022 Have you analyzed the phenomenon that failed with exit code
- Les De Ridder (3/11) Dec 27 2022 This seems to still be broken in 2.101.1 and is breaking my CI:
- Max Haughton (4/18) Dec 27 2022 I'm happy to do some debugging if you can get us a reduced test
- Les De Ridder (7/27) Dec 27 2022 I've been able to reduce it to this:
- Iain Buclaw (3/9) Dec 27 2022 1. Raise a bug report
- Les De Ridder (4/20) Dec 27 2022 Looks like it was already reported and fixed on `stable`:
- torhu (2/16) Dec 27 2022 I see the same thing, only the release build, and only x86, fails.
- jmh530 (8/18) Nov 16 2022 Thanks again, but it doesn't look like the changelog is picking
- Iain Buclaw (4/11) Nov 16 2022 It really would help if you provide some bugzilla urls or PRs
- jmh530 (14/22) Nov 16 2022 I'm not sure what the typically gets picked up, but I had done
- Iain Buclaw (7/20) Nov 16 2022 I've just ran `rdmd -version=Contributors_Lib changed
- jmh530 (2/10) Nov 17 2022 Great, thanks!
- surlymoor (4/6) Nov 16 2022 Nice! Thank you, dukc. Excited to see dirEntries finally be @safe
- zoujiaqing (3/3) Dec 03 2022 Thank you!!!
- max haughton (2/5) Dec 03 2022 LDC (and maybe even GCC) both work
- Steven Schveighoffer (4/9) Dec 03 2022 I can use dmd and ldc on my M1. rosetta works great, and ldc supports
- Guillaume Piolat (2/5) Dec 05 2022 We've been shipping to M1 users for the last 2 years.
Glad to announce D 2.101.0, ♥ to the 63 contributors. This release comes with shortened method syntax enabled by default, new bit-field support added as a preview feature, a new `std.typecons.SafeRefCounted` type that can be used in ` safe`, numerous improvements to dub (including colorized output), and many more. http://dlang.org/download.html http://dlang.org/changelog/2.101.0.html -Iain on behalf of the Dlang Core Team
Nov 15 2022
On Tuesday, 15 November 2022 at 20:54:03 UTC, Iain Buclaw wrote:Glad to announce D 2.101.0, ♥ to the 63 contributors.fantastic! thank you everyone that contributed or otherwise involved.
Nov 15 2022
On Tuesday, 15 November 2022 at 20:54:03 UTC, Iain Buclaw wrote:Glad to announce D 2.101.0, ♥ to the 63 contributors. This release comes with shortened method syntax enabled by default, new bit-field support added as a preview feature, a new `std.typecons.SafeRefCounted` type that can be used in ` safe`, numerous improvements to dub (including colorized output), and many more. http://dlang.org/download.html http://dlang.org/changelog/2.101.0.html -Iain on behalf of the Dlang Core TeamThanks a lot for getting this through the finish line! Release management is an essential part of our ecosystem and a thankless job. And thanks a lot to Martin Nowak for his many years of stewardship and the much improved process he pioneered.
Nov 15 2022
On Tuesday, 15 November 2022 at 20:54:03 UTC, Iain Buclaw wrote:Glad to announce D 2.101.0, ♥ to the 63 contributors. ...Thank you very much, but can we have commands like `'dmd update'` to update dmd directly?
Nov 15 2022
On 11/15/22 7:41 PM, zjh wrote:On Tuesday, 15 November 2022 at 20:54:03 UTC, Iain Buclaw wrote:https://github.com/jacob-carlborg/dvm `dvm install 2.101.0` -SteveGlad to announce D 2.101.0, ♥ to the 63 contributors. ...Thank you very much, but can we have commands like `'dmd update'` to update dmd directly?
Nov 15 2022
On Wednesday, 16 November 2022 at 00:44:24 UTC, Steven Schveighoffer wrote:`dvm install 2.101.0` -SteveI think it would be better to have an official `dmd update`.
Nov 15 2022
On Wednesday, 16 November 2022 at 00:57:20 UTC, zjh wrote:I think it would be better to have an official `dmd update`.The 101.0 version has been `released` last time.
Nov 15 2022
On Tuesday, 15 November 2022 at 20:54:03 UTC, Iain Buclaw wrote:Glad to announce D 2.101.0, ♥ to the 63 contributors.For some reason my project build fails with this version, but only the x86 release build. Only tried it on Windows. This is the error, I'll post a bug report if I can narrow it down more: Error C:\prog\dmd\windows\bin\dmd.exe failed with exit code -1073741795.
Nov 15 2022
On 16/11/2022 2:13 PM, torhu wrote:On Tuesday, 15 November 2022 at 20:54:03 UTC, Iain Buclaw wrote:Yeah, you'll want to use dustmite. Hopefully the project isn't too big.Glad to announce D 2.101.0, ♥ to the 63 contributors.For some reason my project build fails with this version, but only the x86 release build. Only tried it on Windows. This is the error, I'll post a bug report if I can narrow it down more: Error C:\prog\dmd\windows\bin\dmd.exe failed with exit code -1073741795.
Nov 15 2022
On Wednesday, 16 November 2022 at 01:21:12 UTC, rikki cattermole wrote:Yeah, you'll want to use dustmite. Hopefully the project isn't too big.I haven't figured out how to use DustMite, but the error goes away when I compile one file at a time, for some reason.
Nov 27 2022
On Sunday, 27 November 2022 at 19:09:16 UTC, torhu wrote:On Wednesday, 16 November 2022 at 01:21:12 UTC, rikki cattermole wrote:Have you analyzed the phenomenon that failed with exit code -1073741795? I also found a project with the same problem, it's called Phobos... Here is a the last few lines of the detailed log (debug build and `-v` option enabled) with building Phobos: ``` ... ... ... function std.datetime.timezone.PosixTimeZone.utcToTZ function std.datetime.timezone.PosixTimeZone.tzToUTC function std.datetime.timezone.PosixTimeZone.getTimeZone symbol 000001F8F0EFE160 '__context' Sclass = SCbprel Ssymnum = 4 Sfl = FLbprel Sseg = 0 Soffset = xffffffffffffffec Sweight = 0 Sflags = x20004 Sxtrnnum = 0 Stype = 000001F8F0D2B5F0 Sl = 0000000000000000 Sr = 0000000000000000 Tty=mTYvolatile|TYint Tmangle=1 Tflags=x0 Tcount=1 Tsize=4 Tnext=0000000000000000 Assertion failed: 0, file src\dmd\backend\inliner.d, line 404 -1073740791 ``` In this example, the error code seems to have changed, perhaps due to a debug build.Yeah, you'll want to use dustmite. Hopefully the project isn't too big.I haven't figured out how to use DustMite, but the error goes away when I compile one file at a time, for some reason.
Dec 03 2022
On Wednesday, 16 November 2022 at 01:13:29 UTC, torhu wrote:On Tuesday, 15 November 2022 at 20:54:03 UTC, Iain Buclaw wrote:This seems to still be broken in 2.101.1 and is breaking my CI: <https://github.com/lesderid/keynavish/actions/runs/3789010705/jobs/6442404036>.Glad to announce D 2.101.0, ♥ to the 63 contributors.For some reason my project build fails with this version, but only the x86 release build. Only tried it on Windows. This is the error, I'll post a bug report if I can narrow it down more: Error C:\prog\dmd\windows\bin\dmd.exe failed with exit code -1073741795.
Dec 27 2022
On Tuesday, 27 December 2022 at 17:59:11 UTC, Les De Ridder wrote:On Wednesday, 16 November 2022 at 01:13:29 UTC, torhu wrote:I'm happy to do some debugging if you can get us a reduced test case. If you need help getting a reduction do ask (e.g. for help with dustmite)On Tuesday, 15 November 2022 at 20:54:03 UTC, Iain Buclaw wrote:This seems to still be broken in 2.101.1 and is breaking my CI: <https://github.com/lesderid/keynavish/actions/runs/3789010705/jobs/6442404036>.Glad to announce D 2.101.0, ♥ to the 63 contributors.For some reason my project build fails with this version, but only the x86 release build. Only tried it on Windows. This is the error, I'll post a bug report if I can narrow it down more: Error C:\prog\dmd\windows\bin\dmd.exe failed with exit code -1073741795.
Dec 27 2022
On Tuesday, 27 December 2022 at 18:04:56 UTC, Max Haughton wrote:On Tuesday, 27 December 2022 at 17:59:11 UTC, Les De Ridder wrote:I've been able to reduce it to this: `void f() { import std.file : exists; exists(""); }` (or `void f() { import std; exists(""); }`) Create two files (`a.d` and `b.d`) with this code. Build with: `dmd.exe -m32 -inline -O a.d b.d` Removing any of the flags allows the compilation to proceed.On Wednesday, 16 November 2022 at 01:13:29 UTC, torhu wrote:I'm happy to do some debugging if you can get us a reduced test case. If you need help getting a reduction do ask (e.g. for help with dustmite)On Tuesday, 15 November 2022 at 20:54:03 UTC, Iain Buclaw wrote:This seems to still be broken in 2.101.1 and is breaking my CI: <https://github.com/lesderid/keynavish/actions/runs/3789010705/jobs/6442404036>.Glad to announce D 2.101.0, ♥ to the 63 contributors.For some reason my project build fails with this version, but only the x86 release build. Only tried it on Windows. This is the error, I'll post a bug report if I can narrow it down more: Error C:\prog\dmd\windows\bin\dmd.exe failed with exit code -1073741795.
Dec 27 2022
On Tuesday, 27 December 2022 at 19:22:41 UTC, Les De Ridder wrote:I've been able to reduce it to this: `void f() { import std.file : exists; exists(""); }` (or `void f() { import std; exists(""); }`) Create two files (`a.d` and `b.d`) with this code. Build with: `dmd.exe -m32 -inline -O a.d b.d` Removing any of the flags allows the compilation to proceed.1. Raise a bug report 2. Use digger to bisect dmd and locate which change introduced it.
Dec 27 2022
On Wednesday, 28 December 2022 at 01:42:35 UTC, Iain Buclaw wrote:On Tuesday, 27 December 2022 at 19:22:41 UTC, Les De Ridder wrote:Looks like it was already reported and fixed on `stable`: <https://issues.dlang.org/show_bug.cgi?id=23499>. Apologies for the noise.I've been able to reduce it to this: `void f() { import std.file : exists; exists(""); }` (or `void f() { import std; exists(""); }`) Create two files (`a.d` and `b.d`) with this code. Build with: `dmd.exe -m32 -inline -O a.d b.d` Removing any of the flags allows the compilation to proceed.1. Raise a bug report 2. Use digger to bisect dmd and locate which change introduced it.
Dec 27 2022
On Tuesday, 27 December 2022 at 17:59:11 UTC, Les De Ridder wrote:On Wednesday, 16 November 2022 at 01:13:29 UTC, torhu wrote:I see the same thing, only the release build, and only x86, fails.On Tuesday, 15 November 2022 at 20:54:03 UTC, Iain Buclaw wrote:This seems to still be broken in 2.101.1 and is breaking my CI: <https://github.com/lesderid/keynavish/actions/runs/3789010705/jobs/6442404036>.Glad to announce D 2.101.0, ♥ to the 63 contributors.For some reason my project build fails with this version, but only the x86 release build. Only tried it on Windows. This is the error, I'll post a bug report if I can narrow it down more: Error C:\prog\dmd\windows\bin\dmd.exe failed with exit code -1073741795.
Dec 27 2022
On Tuesday, 15 November 2022 at 20:54:03 UTC, Iain Buclaw wrote:Glad to announce D 2.101.0, ♥ to the 63 contributors. This release comes with shortened method syntax enabled by default, new bit-field support added as a preview feature, a new `std.typecons.SafeRefCounted` type that can be used in ` safe`, numerous improvements to dub (including colorized output), and many more. http://dlang.org/download.html http://dlang.org/changelog/2.101.0.html -Iain on behalf of the Dlang Core TeamThanks again, but it doesn't look like the changelog is picking up everything. Granted, I'm not sure exactly when the deadline is, but I see a whole bunch of PRs merged from Walter on ImportC on the Github repo, but only one ImportC item listed in the changelog under DMD compiler fixes (and that looks like this is actually a druntime PR). The one after that seems to be a phobos bug fix.
Nov 16 2022
On Wednesday, 16 November 2022 at 20:51:19 UTC, jmh530 wrote:Thanks again, but it doesn't look like the changelog is picking up everything.It really would help if you provide some bugzilla urls or PRs that you think should have been picked up.Granted, I'm not sure exactly when the deadline is, but I see a whole bunch of PRs merged from Walter on ImportC on the Github repo, but only one ImportC item listed in the changelog under DMD compiler fixes (and that looks like this is actually a druntime PR). The one after that seems to be a phobos bug fix.Freeze was on 11th October.
Nov 16 2022
On Thursday, 17 November 2022 at 00:25:19 UTC, Iain Buclaw wrote:On Wednesday, 16 November 2022 at 20:51:19 UTC, jmh530 wrote:I'm not sure what the typically gets picked up, but I had done the search at the link below: https://github.com/dlang/dmd/pulls?q=is%3Apr+is%3Amerged+ImportC+ and it didn't look like any of the recent bug fixes were listed on the changelog (I only see 23123 and 23340). So for instance: https://github.com/dlang/dmd/pull/14528 https://github.com/dlang/dmd/pull/14509 https://github.com/dlang/dmd/pull/14508 https://github.com/dlang/dmd/pull/14490 https://github.com/dlang/dmd/pull/14485 https://github.com/dlang/dmd/pull/14481 https://github.com/dlang/dmd/pull/14480Thanks again, but it doesn't look like the changelog is picking up everything.It really would help if you provide some bugzilla urls or PRs that you think should have been picked up. [snip]
Nov 16 2022
On Thursday, 17 November 2022 at 02:35:14 UTC, jmh530 wrote:I'm not sure what the typically gets picked up, but I had done the search at the link below: https://github.com/dlang/dmd/pulls?q=is%3Apr+is%3Amerged+ImportC+ and it didn't look like any of the recent bug fixes were listed on the changelog (I only see 23123 and 23340). So for instance: https://github.com/dlang/dmd/pull/14528 https://github.com/dlang/dmd/pull/14509 https://github.com/dlang/dmd/pull/14508 https://github.com/dlang/dmd/pull/14490 https://github.com/dlang/dmd/pull/14485 https://github.com/dlang/dmd/pull/14481 https://github.com/dlang/dmd/pull/14480I've just ran `rdmd -version=Contributors_Lib changed v2.100.2..v2.101.0` with my [hacked version of tools/changed.d](https://forum.dlang.org/post/jhmjyccxjxfrnboeaz s forum.dlang.org), and all of a sudden I get "209 fixed Bugzilla issues" from "72 contributors". My faith in git log retrieving correct information has plummeted. :-) I'll push the fixed generated list into dlang.org, thankfully we'll never have to deal with this again (unless - queue dramatic three-beat sting - phobos is merged into dmd/druntime too).
Nov 16 2022
On Thursday, 17 November 2022 at 07:13:38 UTC, Iain Buclaw wrote:[snip] I've just ran `rdmd -version=Contributors_Lib changed v2.100.2..v2.101.0` with my [hacked version of tools/changed.d](https://forum.dlang.org/post/jhmjyccxjxfrnboeaz s forum.dlang.org), and all of a sudden I get "209 fixed Bugzilla issues" from "72 contributors". My faith in git log retrieving correct information has plummeted. :-) I'll push the fixed generated list into dlang.org, thankfully we'll never have to deal with this again (unless - queue dramatic three-beat sting - phobos is merged into dmd/druntime too).Great, thanks!
Nov 17 2022
On Tuesday, 15 November 2022 at 20:54:03 UTC, Iain Buclaw wrote:a new `std.typecons.SafeRefCounted` type that can be used in ` safe`Nice! Thank you, dukc. Excited to see dirEntries finally be safe with dip1000. God speed to the ones who figuring out the safe inference issue with borrow.
Nov 16 2022
Thank you!!! When will it support Apple M1 processors? My macbook has been unable to use D for months.
Dec 03 2022
On Saturday, 3 December 2022 at 19:17:59 UTC, zoujiaqing wrote:Thank you!!! When will it support Apple M1 processors? My macbook has been unable to use D for months.LDC (and maybe even GCC) both work
Dec 03 2022
On 12/3/22 2:17 PM, zoujiaqing wrote:Thank you!!! When will it support Apple M1 processors? My macbook has been unable to use D for months.I can use dmd and ldc on my M1. rosetta works great, and ldc supports arm. I have not tried gdc. -Steve
Dec 03 2022
On Saturday, 3 December 2022 at 19:17:59 UTC, zoujiaqing wrote:Thank you!!! When will it support Apple M1 processors? My macbook has been unable to use D for months.We've been shipping to M1 users for the last 2 years.
Dec 05 2022