News for hackers. Stuff that matters.
Re:D 2.093.0 by svnpenn on Thursday July 16, 2020 @11:52AM (#23860231)
> With this release it is now possible to install and activate compilers from the Windows command prompt directly.

> Assuming an MSYS2 installation is present in C:\msys64, necessary decompression tools can be installed from the Windows command prompt

Huh? I would think the whole point of running from command prompt would be that MSYS2 is not needed. And the reality is its probably not. Someone would just need to reimplement the Bash script as a PowerShell script.

Re:D 2.093.0 by tastyminerals2 on Thursday July 16, 2020 @02:08PM (#23861883)
There are dedicated installers for Windows if that is what you want: https://dlang.org/download.html

I never used the "install.sh" but just tried and since I have Windows git installed (which comes with MSYS2) it just worked without any issues.

Re:D 2.093.0 by johannes1234321 on Thursday July 16, 2020 @12:01PM (#23860326)
> Someone would just need to reimplement the Bash script as a PowerShell script.

... and then maintain it.

Re:D 2.093.0 by infogulch on Thursday July 16, 2020 @12:44PM (#23860769)
Installing MSYS2 to run a bash script is like deploying an A-10 Warthog to light the fuse for one of those fountain fireworks.
Re:D 2.093.0 by yetanta on Thursday July 16, 2020 @01:53PM (#23861672)
There are much better ways to install things in windows. Such as MSI files if you need to change paths and registry entries. Chocolatey if you want a 'aptget' like usage, there are several of these types. Using bash to install something is unique. I personally am a fan of in place portable install, unzip, run exe, done.
Re:D 2.093.0 by aldacron on Friday July 17, 2020 @12:14AM (#23866943)
Anyone who doesn't already have a bash environment installed on Windows isn't the target of install.sh.
Re:D 2.093.0 by aldacron on Friday July 17, 2020 @12:10AM (#23866918)
Any bash environment on Windows will do. install.sh serves a specific use case for those who need it. It installs dmd in the user's home directory along with a script that enables/disables that specific version in the environment, so multiple dmd versions can be installed side-by-side, and the user can switch between versions as needed. It's a convenience script, more than anything else. More suited for people used to developing in Linux who need to work in Windows from time to time (with or without WSL) than regular Windows developers. The latter group will certainly prefer the Windows installer.
Re:D 2.093.0 by AnIdiotOnTheNet on Thursday July 16, 2020 @12:39PM (#23860719)
> Assuming an MSYS2 installation is present in C:\msys64

Wow, really? Hardcoded paths in 2020?

Re:D 2.093.0 by dvlat on Thursday July 16, 2020 @12:58PM (#23860951)
I've read it differently, the line below shows an example that begins with 'C:\msys64' prefix. So perhaps this was a way to say that the user doesn't have to install msys to that folder.