Dub as tool chain installer

2021-06-18 Thread Bastiaan Veelo via Digitalmars-d-announce

On Friday, 18 June 2021 at 06:14:03 UTC, Martin Nowak wrote:
Maybe we could recruit someone to replace the dated NSIS 
installer with a native msi installer.

https://issues.dlang.org/show_bug.cgi?id=15375
https://en.wikipedia.org/wiki/List_of_installation_software#Windows

Don't have much of a clue about Windows nowadays, maybe there 
are more suitable alternatives.


What would be the most suitable alternative in my eyes is for 
dub, based on [tool chain 
requirements](https://dub.pm/package-format-json.html#toolchain-requirements) specified in `dub.json`, to install and select compilers. Cross platform and cross vendor. I know there are compiler version managers, but I think since dub can check versions of packages and install packages, and can check compiler versions, it is only natural that it should also be able to install compilers.


Above all, it would be just so convenient. This way a compiler 
upgrade becomes part of your commit history. You can test (beta) 
compiler releases in a separate branch, resolve deprecations 
comfortably, have your CI run all tests, all without interfering 
with main development. You push the change and all team members 
upgrade their compilers automatically without even noticing it, 
and certainly without surprises. And any number of years in the 
future, when you pick up an old project that has been dormant, it 
still compiles flawlessly because dub downgrades the compiler 
automatically.


Come to think of it, maybe there should be an additional package 
category that provides build tools that can be run by dub without 
`dub run`, such as `dfmt`, `dpp`, `pegged`, and compilers and 
linters.


— Bastiaan.


Re: D News Roundup on the Blog: SAoC, DConf Online, Compiler Releases

2021-06-18 Thread Dukc via Digitalmars-d-announce

On Friday, 18 June 2021 at 13:06:28 UTC, Mike Parker wrote:
I've posted a collective announcement of recent big happenings 
in D Land with all the relevant links. The SAoC 2021 and DConf 
Online 2021 pages are live with the information you need to 
submit proposals. Looking forward to see what comes around!


The blog:
https://dlang.org/blog/2021/06/18/d-news-roundup-saoc-2021-dconf-online-2021-new-compiler-releases/


A lot of content on D blog lately. Good job.




D News Roundup on the Blog: SAoC, DConf Online, Compiler Releases

2021-06-18 Thread Mike Parker via Digitalmars-d-announce
I've posted a collective announcement of recent big happenings in 
D Land with all the relevant links. The SAoC 2021 and DConf 
Online 2021 pages are live with the information you need to 
submit proposals. Looking forward to see what comes around!


The blog:
https://dlang.org/blog/2021/06/18/d-news-roundup-saoc-2021-dconf-online-2021-new-compiler-releases/

/r/programming:
https://www.reddit.com/r/programming/comments/o2ogsl/dlang_20970_dconf_online_2021_announced/

/r/d_language:
https://www.reddit.com/r/d_language/comments/o2omsl/d_news_roundup_saoc_2021_dconf_online_2021_new/

SAoC 2021 info:
https://dlang.org/blog/symmetry-autumn-of-code/

DConf Online 2021
https://dlang.github.io/dconf.org/2021/online/index.html

Note that I'm currently waiting for dconf.org to be redirected to 
our GitHub pages URL.





Re: Announcing audio-formats v1.0.0

2021-06-18 Thread Guillaume Piolat via Digitalmars-d-announce

On Tuesday, 7 April 2020 at 13:02:03 UTC, Guillaume Piolat wrote:
On Wednesday, 18 March 2020 at 18:41:11 UTC, Guillaume Piolat 
wrote:

# Features

- decode #WAV / #FLAC / #MP3 (LGPL in that case)



Update in v1.1.0:

- MP3 decoding is now Boost-compatible (with a new minimp3 
translation)

- OPUS decoding added (LGPL in that case)
- OGG not working yet but will probably happen


Update in v1.3.0:
- MOD decoding
- XM decoding


Re: Release D 2.097.0

2021-06-18 Thread Martin Nowak via Digitalmars-d-announce

On Monday, 7 June 2021 at 08:51:52 UTC, Bastiaan Veelo wrote:
I am having issues as well, but I don't think the installer is 
at fault: I see the `C:\D\dmd2` directory get filled as the 
installer progresses, then files just disappear. It doesn't 
seem to be consistent though. After failure I tried with 
`dmd-2.096.1.exe` and the same thing happened, whereas it had 
installed fine before. I tried `dmd-2.097.0.exe` and this time 
the whole directory got wiped. I tried again and it installed 
fine.


Windows 10 Pro N version 20H2 build 19042.985.

I suspect MS cloud security scan.

-- Bastiaan.


Maybe we could recruit someone to replace the dated NSIS 
installer with a native msi installer.

https://issues.dlang.org/show_bug.cgi?id=15375
https://en.wikipedia.org/wiki/List_of_installation_software#Windows

Don't have much of a clue about Windows nowadays, maybe there are 
more suitable alternatives.