www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Alpine Linux 3.12 Released With D Language Support

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
https://www.phoronix.com/scan.php?page=news_item&px=Alpine-Linux-3.12-Released
May 30
next sibling parent Dibyendu Majumdar <d.majumdar gmail.com> writes:
On Saturday, 30 May 2020 at 20:03:30 UTC, Andrei Alexandrescu 
wrote:
 https://www.phoronix.com/scan.php?page=news_item&px=Alpine-Linux-3.12-Released
I recently installed Ubuntu 20.04 LTS on Windows 10. $sudo apt info gdc Package: gdc Version: 4:10.0-1ubuntu2 Priority: optional Section: universe/devel Source: gcc-defaults (1.185.1ubuntu2) Origin: Ubuntu Maintainer: Ubuntu Developers <ubuntu-devel-discuss lists.ubuntu.com> Original-Maintainer: Debian GCC Maintainers <debian-gcc lists.debian.org> Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 41.0 kB Depends: gdc-10 (>= 10-20200307-0ubuntu1~), libgphobos-dev (= 10.0-1ubuntu2) Replaces: gdc-4.1 (<< 0.25-4.1.2-18), gdc-4.2 (<< 0.25-4.2.2-7), gdc-4.3 (<< 1:1.043-4.3.4-1) Download-Size: 5260 B APT-Sources: http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages Description: D compiler (language version 2), based on the GCC backend This is a dependency package providing the default D compiler. Per policy, all packages that contain D sources must use this package in their Build-Depends line. . This compiler supports D language version 2.
May 30
prev sibling parent reply Cogitri <oss cogitri.dev> writes:
On Saturday, 30 May 2020 at 20:03:30 UTC, Andrei Alexandrescu 
wrote:
 https://www.phoronix.com/scan.php?page=news_item&px=Alpine-Linux-3.12-Released
I'm one of the DLang maintainers for Alpine - please feel free to open issues at https://gitlab.alpinelinux.org/alpine/aports/issues if you notice something being broken. Unfortunately *some* C bindings in core aren't quite up to speed on musl yet but I try to add those when I notice that they're missing, but filing an issue about that (or making a PR to core to add the bindings) would be of great help! Also thanks to geod24 who made this happen and did most of the hard work :)
May 30
parent reply Johan <j j.nl> writes:
On Saturday, 30 May 2020 at 20:30:09 UTC, Cogitri wrote:
 On Saturday, 30 May 2020 at 20:03:30 UTC, Andrei Alexandrescu 
 wrote:
 https://www.phoronix.com/scan.php?page=news_item&px=Alpine-Linux-3.12-Released
I'm one of the DLang maintainers for Alpine - please feel free to open issues at https://gitlab.alpinelinux.org/alpine/aports/issues if you notice something being broken. Unfortunately *some* C bindings in core aren't quite up to speed on musl yet but I try to add those when I notice that they're missing, but filing an issue about that (or making a PR to core to add the bindings) would be of great help! Also thanks to geod24 who made this happen and did most of the hard work :)
Great work. Which compilers (and versions) are available? -Johan
May 30
next sibling parent Paul Backus <snarwin gmail.com> writes:
On Saturday, 30 May 2020 at 21:48:32 UTC, Johan wrote:
 Great work.
 Which compilers (and versions) are available?

 -Johan
Looks like dmd [1], ldc [2], and gdc [3] are all there. [1] https://pkgs.alpinelinux.org/package/edge/community/x86_64/dmd [2] https://pkgs.alpinelinux.org/package/edge/community/x86_64/ldc [3] https://pkgs.alpinelinux.org/package/edge/community/x86_64/gdmd
May 30
prev sibling parent Mathias LANG <geod24 gmail.com> writes:
On Saturday, 30 May 2020 at 21:48:32 UTC, Johan wrote:
 On Saturday, 30 May 2020 at 20:30:09 UTC, Cogitri wrote:
 On Saturday, 30 May 2020 at 20:03:30 UTC, Andrei Alexandrescu 
 wrote:
 https://www.phoronix.com/scan.php?page=news_item&px=Alpine-Linux-3.12-Released
I'm one of the DLang maintainers for Alpine - please feel free to open issues at https://gitlab.alpinelinux.org/alpine/aports/issues if you notice something being broken. Unfortunately *some* C bindings in core aren't quite up to speed on musl yet but I try to add those when I notice that they're missing, but filing an issue about that (or making a PR to core to add the bindings) would be of great help! Also thanks to geod24 who made this happen and did most of the hard work :)
Great work. Which compilers (and versions) are available? -Johan
All 3 compilers. The version will be frozen for the next 6 months, but that just means a 2 to 3 releases support period, so it's not an issue IMO. There are still some small issues to iron out, and there's still no support for LTO out of the box (although one can compile it), but we've been using it for ~8 months and it works quite well. Also some of those issues are Musl specific and not related to Dlang, e.g. https://gitlab.alpinelinux.org/alpine/aports/-/issues/11154 Initial announcement: https://forum.dlang.org/post/oznltcuropwzxaakptdy forum.dlang.org Looking at it, all the "What's next?" have been done too :)
May 30