Re: Beta D 2.068.0-b2

2015-07-29 Thread Joseph Cassman via Digitalmars-d-announce

On Wednesday, 29 July 2015 at 18:13:22 UTC, Kagamin wrote:
On Wednesday, 29 July 2015 at 15:45:19 UTC, Taylor Hillegeist 
wrote:
I guess what I mean to say is that they did it, maybe it can 
be done.


Of course it can be done with an additional license agreement 
with microsoft.


Of course VS Shell is still way more than is necessary for our 
purposes.


I believe VS shell is redistributable, because it was made 
exactly for that.


Yeah, if the linker (and other relevant files) for Win64 could be 
licensed from MS so they could be packaged with the DMD installer 
that would be a sweet deal. I know D is in bootstrap mode right 
now but this could be one of the things that helps get it to the 
necessary polished phase that helps get the acceptance past the 
10,000 mark.


It takes a standard half-day or so to install Visual Studio. So 
any way to make setting up a Win64 environment faster is much 
appreciated. And I would feel necessary to get wide acceptance.


Joseph


Re: Beta D 2.068.0-b2

2015-07-29 Thread Joseph Cassman via Digitalmars-d-announce

On Wednesday, 29 July 2015 at 07:16:39 UTC, Martin Nowak wrote:

On Wednesday, 29 July 2015 at 07:10:13 UTC, Martin Nowak wrote:
You're not allowed to redistribute the VS binaries, only the 
libc dlls.

On Win32 we use our own libc (dmc) and linker (optlink).
We could improve our installer so it can optionally start the 
VS compiler installation.


https://issues.dlang.org/show_bug.cgi?id=14847


Martin, appreciate the help with this issue. I have investigated 
further and it looks like there is a work-around (item [3] 
below). Here is a synopsis of what I have found through testing.


1) Windows 7 SDK will not install completely now that I have .NET 
4.5.1 installed (it requires version 4). It incorrectly considers 
the newer runtime as not as up-to-date.


2) Windows 8.1 SDK does not include a console build system (c.f. 
[1]). Thanks for pointing that out in your previous post. That 
page coincides with what I found in my testing.


3) The VS Community 2013 with Update 5 installation [2] includes 
a complete build system that works with the DMD Windows installer 
(tested with version 2.068.0-b2). This is what should be used 
with DMD now since it is free and works with the current .NET 
runtime.


4) The VS 2015 Community 2015 installation [2] also includes a 
complete build system. However, the DMD Windows installer does 
not recognize it and fails to update the sc.ini file accordingly. 
I will file a bug report shortly with details.


It is taking a while to do all of the un/installs to get a 
relevant test environment. So I thought I would make this post 
about what I have found. Thought it might help with your trying 
to get the 068 release out the door. After I have finished my 
testing I will update the DMD Win64 wiki page with what is 
currently working.


Thanks again for the help.

Joseph

[1] https://msdn.microsoft.com/en-us/windows/desktop/hh852363.aspx
[2] https://www.visualstudio.com/en-us/downloads#d-community



Re: New D book available for pre-order: D Web Development

2015-07-29 Thread John via Digitalmars-d-announce

On Wednesday, 22 July 2015 at 15:29:20 UTC, Kai Nacke wrote:
my book D Web Development, available now for pre-order: 
https://www.packtpub.com/web-development/d-web-development




Thanks! I have pre-ordered your book though I'm currently playing 
with Rust and Go.


The performance of D is pulling me back all the time. So I'll buy 
and read every single D book out there! :)


Re: Beta D 2.068.0-b2

2015-07-29 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 29 July 2015 at 15:45:19 UTC, Taylor Hillegeist 
wrote:
I guess what I mean to say is that they did it, maybe it can be 
done.


Of course it can be done with an additional license agreement 
with microsoft.


Of course VS Shell is still way more than is necessary for our 
purposes.


I believe VS shell is redistributable, because it was made 
exactly for that.


Re: Beta D 2.068.0-b2

2015-07-29 Thread Taylor Hillegeist via Digitalmars-d-announce

On Wednesday, 29 July 2015 at 11:56:34 UTC, Kagamin wrote:
On Wednesday, 29 July 2015 at 01:55:35 UTC, Joseph Cassman 
wrote:
There is probably an obvious reason this is not possible but I 
could not see it when reading through the MS licensing 
information. It seems to me the linker bin could be 
redistributed.


9. SCOPE OF LICENSE. The software is licensed, not sold. This 
agreement only gives you some rights to use the software. 
Microsoft reserves all other rights.


So you should find an expressly granted right to redistribute.


Apparently Intel was able to redistribute it with their fortran 
compiler.


IntelĀ® Visual Fortran development environment based on Microsoft 
Visual Studio 2010 Shell is included with Academic and Commercial 
licenses for IntelĀ® Visual Fortran. It is not included with 
Evaluation or Student licenses. This development environment 
provides everything necessary to edit, build and debug Fortran 
applications. Some features of the full Visual Studio product are 
not included, such as:
Resource Editor (see ResEdit*, a third-party tool, for a 
substitute)

Automated conversion of Compaq* Visual Fortran projects

I guess what I mean to say is that they did it, maybe it can be 
done. Of course VS Shell is still way more than is necessary for 
our purposes.


Re: Beta D 2.068.0-b2

2015-07-29 Thread Jacob Carlborg via Digitalmars-d-announce

On 2015-07-29 13:12, Jacob Carlborg wrote:


I noticed building the installer for OS X relies on that as well.


Never mind, I looked at an old version of the makefile.

--
/Jacob Carlborg


Re: Beta D 2.068.0-b2

2015-07-29 Thread jmh530 via Digitalmars-d-announce

On Wednesday, 29 July 2015 at 07:10:13 UTC, Martin Nowak wrote:


You're not allowed to redistribute the VS binaries, only the 
libc dlls.

On Win32 we use our own libc (dmc) and linker (optlink).
We could improve our installer so it can optionally start the 
VS compiler installation.


If it only installed the required things, then that might be 
good. The whole thing though...last time I tried to install VS it 
took like an hour.


std.data.json formal review

2015-07-29 Thread Atila Neves via Digitalmars-d-announce

http://forum.dlang.org/thread/nbuhouhimowvcqssv...@forum.dlang.org


Re: Beta D 2.068.0-b2

2015-07-29 Thread Kagamin via Digitalmars-d-announce

On Wednesday, 29 July 2015 at 01:55:35 UTC, Joseph Cassman wrote:
There is probably an obvious reason this is not possible but I 
could not see it when reading through the MS licensing 
information. It seems to me the linker bin could be 
redistributed.


9. SCOPE OF LICENSE. The software is licensed, not sold. This 
agreement only gives you some rights to use the software. 
Microsoft reserves all other rights.


So you should find an expressly granted right to redistribute.


Re: Beta D 2.068.0-b2

2015-07-29 Thread Jacob Carlborg via Digitalmars-d-announce

On 2015-07-26 15:55, Martin Nowak wrote:


BTW, I'd like to phase out the fat 50-60MB combined zip, and add
tar.xz/gz for linux/freebsd/osx.
Does anyone still rely on the combined zip?


I noticed building the installer for OS X relies on that as well.

--
/Jacob Carlborg


Re: Beta D 2.068.0-b2

2015-07-29 Thread Martin Nowak via Digitalmars-d-announce

On Wednesday, 29 July 2015 at 07:10:13 UTC, Martin Nowak wrote:
You're not allowed to redistribute the VS binaries, only the 
libc dlls.

On Win32 we use our own libc (dmc) and linker (optlink).
We could improve our installer so it can optionally start the 
VS compiler installation.


https://issues.dlang.org/show_bug.cgi?id=14847


Re: Beta D 2.068.0-b2

2015-07-29 Thread Martin Nowak via Digitalmars-d-announce

On Wednesday, 29 July 2015 at 01:55:35 UTC, Joseph Cassman wrote:
There is probably an obvious reason this is not possible but I 
could not see it when reading through the MS licensing 
information. It seems to me the linker bin could be 
redistributed. Why is it (and the other required lib/dll files) 
not bundled with the Windows installer to make it 
one-stop-shopping?


Seems like this is what is done with Win32.


You're not allowed to redistribute the VS binaries, only the libc 
dlls.

On Win32 we use our own libc (dmc) and linker (optlink).
We could improve our installer so it can optionally start the VS 
compiler installation.


Re: Beta D 2.068.0-b2

2015-07-29 Thread Martin Nowak via Digitalmars-d-announce

On Wednesday, 29 July 2015 at 01:52:34 UTC, Joseph Cassman wrote:
I was forced to install VS to get one since for some reason the 
7A and 8.1 Windows SDK's did not install a complete 64-bit 
toolchain for me.


Seems like Microsoft dropped the compiler from the SDK.
https://msdn.microsoft.com/en-us/windows/desktop/hh852363.aspx