Re: Dockerfile with cross-compiler targeting Windows x64

2018-04-07 Thread kinke via Digitalmars-d-announce

On Saturday, 7 April 2018 at 14:05:15 UTC, Seb wrote:
Hmm how hard would it be to use the MinGW libraries like DMD is 
doing as a fallback since 2.079?


The MinGW ones for the Windows API may do, but the VS 2010 
libraries are not an option for LDC, we require at least 2015 
(which introduced the 'Universal CRT', probably making things 
more complicated). I'd also prefer to keep on defaulting to the 
static C runtime in order not to produce binaries depending on 
Visual C++ DLLs (hindering portability of Windows binaries).


Re: DIP 1009 (Add Expression-Based Contract Syntax) Accepted

2018-04-07 Thread Zach Tollen via Digitalmars-d-announce

On Saturday, 7 April 2018 at 20:06:19 UTC, Jordan Wilson wrote:
Although https://dlang.org/spec/contracts.html will surely be 
updated with this new syntax, I think a blog post would also 
help in this regard, I think.


Jordan


That's a good idea. I'll start on one.


Re: Hamburg meets D

2018-04-07 Thread Stephan via Digitalmars-d-announce

On Wednesday, 4 April 2018 at 20:57:13 UTC, Stefan wrote:

On Monday, 5 March 2018 at 19:40:12 UTC, Stephan wrote:

Hello fellow Dlers,

thanks to last years DConf some German D developers agreed to 
meet for drinks in Hamburg.


congratz!

how was it?
hope a next meetup is already planned.


It was great! I wanna thank everyone coming, we had great 
discussions, pizza and a little vibe.d feature actually arose out 
of it! And we were 5 people actually :)


I guess after dconf we will start planning the next date.

~Stephan


Create bitcoin genesis block in d language

2018-04-07 Thread aerto via Digitalmars-d-announce
was playing around with d, i write a pure implementation of 
bitcoin genesis block creation in dlang 
https://github.com/cvsae/genesisd


Beta 2.079.1

2018-04-07 Thread Martin Nowak via Digitalmars-d-announce
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

First beta for the 2.079.1 patch release.

Comes with a handful of fixes.

http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.079.1.html

Please report any bugs at https://issues.dlang.org

- -Martin


-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEpzRNrTw0HqEtE8TmsnOBFhK7GTkFAlrJEEoACgkQsnOBFhK7
GTk4xQ/+Ma++WcDt2dCJlmoPYE7gwBVBe2gvrJStx9/7Ef0xtmHyVeo3sbKSXIAG
lhdW7cq+ZR6qvpxmMRu3FIRDFLXBtoFHJLAGOC8dwLv8r1naHheZMcEgRS1ryGnp
ae3T+6Qg7TiALTAC4iy2BcBsUw1DR7JFdj+SNx+5mB9OtKS92hWOf1WtudOayQoV
3NEbGp/Wj0NCVhbkgAn9gDonpMRzV/hYXIJFFm9mHrLIDUL2f3ekdX3mhR4dcKQq
cg75FAL2lEe9wsMlkJVYv+wDMAZXe331wLx68xSr/O2PbrohHLPiHA0t79Ith3kP
2eFXjmQ6VoUSXQgiwDrBjadm6KgXUYYjBKKxWWZIdyua+O+hd9kx6BEC/PypZBCq
DHeZ1loNrI1f+d9Dnif0DFB5mXFBtaJ5XlWEdRf7ss+Xo2VYT/ak8LpKnqkob2Tv
FHctFy4KWIR0Z+Plql990t/RtaTKXDKYW+fW0fw4oKGbG+PBvEzvMxj2wREAtqX5
laCd8hE/g8M5qlv6oWOux7dTzDrkOmPYnepeSkK2aelWO0MV2FAH0hEPRf37QXwq
ir9AA0cxiS5Vv3tM0KBi8XA9u6BlvoOzRXIZpAHAINRUYRjiCvB76bAQhH4O4lh4
UQ9oqa0XWDJ7xs7FuaRldTT7TFAEWn/UtTF5kOOc18G+zKnlQOo=
=7ay/
-END PGP SIGNATURE-


Re: Dockerfile with cross-compiler targeting Windows x64

2018-04-07 Thread Seb via Digitalmars-d-announce

On Saturday, 7 April 2018 at 12:24:54 UTC, kinke wrote:

Any MS libs that can be bundled "legally"?


That's the problem. If there were, they'd be bundled with the 
LDC Windows packages, so that LDC on Windows wouldn't require a 
Visual C++ installation anymore and just work out of the box.
To avoid confusion: we're talking about the static and import 
.lib files of the Visual C++ runtime & Windows SDK, not about 
the redistributable DLLs.


The libs on DropBox are from Visual Studio 2015 Update 3, while 
the LDC 1.8 druntime/Phobos libs have been compiled with latest 
VS 2017, so this divergence could become problematic at some 
point.


Hmm how hard would it be to use the MinGW libraries like DMD is 
doing as a fallback since 2.079?


https://dlang.org/changelog/2.079.0.html#lld_mingw

Rainer's excellent work on this is mostly found in 
dlang/installer:


https://github.com/dlang/installer/blob/build-mingw-libs/windows/build_mingw.bat
https://github.com/dlang/installer/blob/build-lld/windows/build_lld.bat
https://github.com/dlang/installer/pull/281
https://github.com/dlang/dmd/pull/7500

(mingw and lld are separate branches, s.t. they aren't built on 
every AppVeyor run)


Communal Benevolence Required

2018-04-07 Thread Mike Parker via Digitalmars-d-announce
If you've been considering helping out the D Language Foundation 
with a donation, right now is a beneficial time to do it. With 
DConf just around the corner, every dime counts!


Blog
https://dlang.org/blog/2018/04/07/communal-benevolence-required/

Reddit
https://www.reddit.com/r/d_language/comments/8ai5lw/communal_benevolence_required/


Re: code-d 0.17.0 + serve-d 0.1.2

2018-04-07 Thread WebFreak001 via Digitalmars-d-announce

On Friday, 6 April 2018 at 19:12:32 UTC, Wulfklaue wrote:
Nice job WebFreak001 on the new changes. For the first time in 
years the code-d plugin works out of the box on Windows without 
any issues.


A small tip: associate the .d file extension in the Visual 
Studio Code marketplace with Code-d. Currently Code-D does not 
show up when VSC suggests plugins for the .d file extension.


uh I did do that though? Check the provides tab in the extension, 
it shows D


Re: Dockerfile with cross-compiler targeting Windows x64

2018-04-07 Thread kinke via Digitalmars-d-announce

On Friday, 6 April 2018 at 04:08:41 UTC, Seb wrote:
On Thursday, 5 April 2018 at 11:46:42 UTC, Jacob Carlborg 
wrote:
I've created a Dockerfile [1] containing LDC, configured for 
cross-compiling targeting Windows x64.


Thanks for doing this.

BTW I just tested this and it works really nicely (I even 
managed to compile the whole DScanner for Windows (!) and it 
runs as expected in a quick test in a virtual machine). Thanks!


Thanks for the confirmation.


Any MS libs that can be bundled "legally"?


That's the problem. If there were, they'd be bundled with the LDC 
Windows packages, so that LDC on Windows wouldn't require a 
Visual C++ installation anymore and just work out of the box.
To avoid confusion: we're talking about the static and import 
.lib files of the Visual C++ runtime & Windows SDK, not about the 
redistributable DLLs.


The libs on DropBox are from Visual Studio 2015 Update 3, while 
the LDC 1.8 druntime/Phobos libs have been compiled with latest 
VS 2017, so this divergence could become problematic at some 
point.