Re: So, You Want To Write Your Own Programming Language?

2014-02-03 Thread Walter Bright

On 1/21/2014 8:29 PM, Walter Bright wrote:

http://www.reddit.com/r/programming/comments/1vtm2l/so_you_want_to_write_your_own_language_dr_dobbs/


Just showed up on Hacker News:

https://news.ycombinator.com/item?id=7172971


Re: dmd 2.065 beta 3

2014-02-03 Thread evilrat
i have some strange behaviour when building with -O, if in short 
it reports taking address of interface as dereferencing null. 
error reported with 2.065 beta2 and beta3, but i don't remember 
if i had this on 2.064. any advices?


here is repro case(for simplicity use dub)
https://gist.github.com/evilrat666/151adaf4ce94ee1a1c68


Re: dmd 2.065 beta 3

2014-02-03 Thread Brad Anderson

On Monday, 3 February 2014 at 18:37:20 UTC, Andrew Edwards wrote:
Windows users, please give the new installer a try. It has been 
updated to facilitate proper installation.


Seems to work well here. I thought something was odd when I saw a
flash of an attempt to download from downloads.dlang.org but
looking into it I didn't know about Martin's Alt URL addition
(very handy).


Re: dmd 2.065 beta 1 #2

2014-02-03 Thread Martin Nowak

On 01/27/2014 03:10 AM, Jordi Sayol wrote:

[...]
error: line 2: Illegal char '-' in: Version: 2.065.0-b2
-

rpm packages do not allows "-" on version.

I've pull-requested deb/rpm scripts to fix new dmd versioning scheme. Dash "-" is 
replaced by tilde "~" on deb/rpm packages version, and so on packages name.
https://github.com/D-Programming-Language/installer/pull/47


Tilde doesn't work for rpm (I'm stuck with a slightly older rpmbuild 4.8.1).
https://github.com/D-Programming-Language/installer/commit/c74853d8b6ea243ee8889f9790f7c3d5099abe5d#commitcomment-5264134
The Fedora manual has a detailed description on how to handle this.
https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Version_Tag



Re: dmd 2.065 beta 2

2014-02-03 Thread Brad Anderson

On Friday, 31 January 2014 at 06:15:14 UTC, Manu wrote:

On 29 January 2014 14:33, Brad Anderson  wrote:


On Wednesday, 29 January 2014 at 00:41:46 UTC, Manu wrote:


I had an issue with the windows installer.
It didn't remember where my existing D installation was, and 
tried to

installer it somewhere else by default.
It should remember where I installed it last time and upgrade 
the existing

installation.



The Window installer here doesn't actually work because the URL
is wrong. You're just using your previous installation.



I'm having another trouble with the installer on Win8.1 + VS2013

The installer produces lines in sc.ini:
  WindowsSdkDir=C:\Program Files (x86)\Windows Kits\8.1\

and lower:
  ; Platform libraries (Windows SDK 8)
  LIB=%LIB%;"%WindowsSdkDir%\Lib\win8\um\x64"

WindowsSdkDir is correct, it seems to have found the proper 
folder for
Win8.1, but the LIB path is wrong. That path is correct for 
"Windows
Kits\8.0", but it's been moved under 8.1, the proper path for 
the 8.1 libs

is: "Windows Kits\8.1\Lib\winv6.3\um\x64"

Seems 'win8' becomes 'winv6.3' under 8.1 for some reason...


Looks like Rainer already took care of this on master:

https://github.com/D-Programming-Language/dmd/commit/ba2dd160db17436041a276b0b5ac5d46c0f12f3f

I'll get Andrew to merge it into 2.065.


Re: dmd 2.065 beta 3

2014-02-03 Thread Meta

On Monday, 3 February 2014 at 23:34:28 UTC, Andrew Edwards wrote:

On 2/3/14, 5:29 PM, Meta wrote:


When installing on Windows, it lists the required space on 
disk as 0KB.


That's something we can work towards fixing. But does it 
install? Is it working for you? Are you having any problems 
with it that needs to be addressed?


It seems to install and work correctly. I haven't encountered any 
regressions yet with my old code.


Re: dmd 2.065 beta 3

2014-02-03 Thread Andrew Edwards

On 2/3/14, 5:29 PM, Meta wrote:


When installing on Windows, it lists the required space on disk as 0KB.


That's something we can work towards fixing. But does it install? Is it 
working for you? Are you having any problems with it that needs to be 
addressed?


Re: dmd 2.065 beta 3

2014-02-03 Thread Meta

On Monday, 3 February 2014 at 18:34:15 UTC, Andrew Edwards wrote:

Following are the changes incorporated since beta 2:

DMD
Issue 10133 - ICE for templated static conditional lambda
Issue 11993 - typeof(this) in constraint of member function 
template should reflect method qualifier

Issue 11447 - Closure provide bogus values
Issue 12016 - implicit immutable upcast becomes null in CTFE
Issue 12008 - alias this and "unable to resolve forward 
reference"

Issue 12023 - template mixin fails within template class
Issue 12037 - Link-failure with std.numeric.CustomFloat
Issue 12038 - alias this and &this cause ICE
Issue 12017 - DDoc leaves out the majority of documentation
Issue 12040 - Compiler segfault with circular reference in 
variable type


Phobos
Issue 12024 - template instantiation for swap(SysTime, 
SysTime) fails

Issue 11973 - Please use any instead

Installer
Pull 45 - add alternative download for dmd.${Version2}.zip
Pull 52 - disable Audio and USB in VirtualBox
Pull 51 - use lib64 for phobo64.lib and gcstub64.obj on 
Windows

Pull 50 - only copy explicitly listed files from phobos
Pull 49 - Improved build automation using Vagrant
Pull 46 - fix deb copyright typo
Pull 48 - Update deb/rpm to new dmd versioning scheme.


Binaries have been published:

All Systems
http://ftp.digitalmars.com/dmd.2.065.0-b3.zip

FreeBSD
http://ftp.digitalmars.com/dmd.2.065.0-b3.freebsd-32.zip
http://ftp.digitalmars.com/dmd.2.065.0-b3.freebsd-64.zip

Linux
http://ftp.digitalmars.com/dmd.2.065.0-b3.linux.zip
http://ftp.digitalmars.com/dmd_2.065.0-b3-0_amd64.deb
http://ftp.digitalmars.com/dmd_2.065.0-b3-0_i386.deb

http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_amd64.deb

http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_i386.deb

http://ftp.digitalmars.com/dmd-2.065.0~b3-0.openSUSE.x86_64.rpm

http://ftp.digitalmars.com/dmd-2.065.0~b3-0.fedora.x86_64.rpm

http://ftp.digitalmars.com/dmd-2.065.0~b3-0.openSUSE.i386.rpm

http://ftp.digitalmars.com/dmd-2.065.0~b3-0.fedora.i386.rpm

OSX
http://ftp.digitalmars.com/dmd.2.065.0-b3.osx.zip
http://ftp.digitalmars.com/dmd.2.065.0-b3.dmg

Windows
http://ftp.digitalmars.com/dmd.2.065.0-b3.exe
http://ftp.digitalmars.com/dmd.2.065.0-b3.windows.zip

The list of current regressions may be accessed here:

http://d.puremagic.com/issues/buglist.cgi?query_format=advanced&bug_severity=regression&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED

Regards,
Andrew


When installing on Windows, it lists the required space on disk 
as 0KB.


Re: dmd 2.065 beta 3

2014-02-03 Thread Walter Bright

On 2/3/2014 10:34 AM, Andrew Edwards wrote:

Following are the changes incorporated since beta 2:


Thank you!



Re: dmd 2.065 beta 3

2014-02-03 Thread Rory McGuire
Thanks, ahh! its the tilde.

Cheers,


On Mon, Feb 3, 2014 at 9:20 PM, Andrew Edwards  wrote:

> On 2/3/14, 2:12 PM, Rory McGuire wrote:
>
>> http://ftp.digitalmars.com/__dmd_2.065.0-b3-0_amd64.deb is 404 for me.
>>
>
> Linux
> http://ftp.digitalmars.com/dmd_2.065.0~b3-0_amd64.deb
> http://ftp.digitalmars.com/dmd_2.065.0~b3-0_i386.deb
>
>


Re: dmd 2.065 beta 3

2014-02-03 Thread Andrew Edwards

On 2/3/14, 2:12 PM, Rory McGuire wrote:

http://ftp.digitalmars.com/__dmd_2.065.0-b3-0_amd64.deb is 404 for me.


Linux
http://ftp.digitalmars.com/dmd_2.065.0~b3-0_amd64.deb
http://ftp.digitalmars.com/dmd_2.065.0~b3-0_i386.deb



Re: Mobile App STACK4 with a D backend

2014-02-03 Thread Andrei Alexandrescu

On 2/2/14, 9:10 AM, extrawurst wrote:

On Sunday, 2 February 2014 at 17:02:33 UTC, Andrei Alexandrescu wrote:

On 2/2/14, 8:55 AM, extrawurst wrote:

http://www.extrawurst.org/blog11/2014/01/stack4-and-the-d-programming-language-part3/



How many parts total?

Andrei


At the start I thought about 4 parts including the other libraries. But
that would get out of hand. The 4th is the last under that headline and
the stuff about the auxilary libs will be separate articles later.

Reddit anyone ?


http://www.reddit.com/r/programming/comments/1wwyyb/stack4_and_the_d_programming_language_part_3_of_4/

Andrei


Re: dmd 2.065 beta 3

2014-02-03 Thread Rory McGuire
http://ftp.digitalmars.com/dmd_2.065.0-b3-0_amd64.deb is 404 for me.


On Mon, Feb 3, 2014 at 8:34 PM, Andrew Edwards  wrote:

> Following are the changes incorporated since beta 2:
>
> DMD
> Issue 10133 - ICE for templated static conditional lambda
> Issue 11993 - typeof(this) in constraint of member function template
> should reflect method qualifier
> Issue 11447 - Closure provide bogus values
> Issue 12016 - implicit immutable upcast becomes null in CTFE
> Issue 12008 - alias this and "unable to resolve forward reference"
> Issue 12023 - template mixin fails within template class
> Issue 12037 - Link-failure with std.numeric.CustomFloat
> Issue 12038 - alias this and &this cause ICE
> Issue 12017 - DDoc leaves out the majority of documentation
> Issue 12040 - Compiler segfault with circular reference in variable
> type
>
> Phobos
> Issue 12024 - template instantiation for swap(SysTime, SysTime) fails
> Issue 11973 - Please use any instead
>
> Installer
> Pull 45 - add alternative download for dmd.${Version2}.zip
> Pull 52 - disable Audio and USB in VirtualBox
> Pull 51 - use lib64 for phobo64.lib and gcstub64.obj on Windows
> Pull 50 - only copy explicitly listed files from phobos
> Pull 49 - Improved build automation using Vagrant
> Pull 46 - fix deb copyright typo
> Pull 48 - Update deb/rpm to new dmd versioning scheme.
>
>
> Binaries have been published:
>
> All Systems
> http://ftp.digitalmars.com/dmd.2.065.0-b3.zip
>
> FreeBSD
> http://ftp.digitalmars.com/dmd.2.065.0-b3.freebsd-32.zip
> http://ftp.digitalmars.com/dmd.2.065.0-b3.freebsd-64.zip
>
> Linux
> http://ftp.digitalmars.com/dmd.2.065.0-b3.linux.zip
> http://ftp.digitalmars.com/dmd_2.065.0-b3-0_amd64.deb
> http://ftp.digitalmars.com/dmd_2.065.0-b3-0_i386.deb
> http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_amd64.deb
> http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_i386.deb
> http://ftp.digitalmars.com/dmd-2.065.0~b3-0.openSUSE.x86_64.rpm
> http://ftp.digitalmars.com/dmd-2.065.0~b3-0.fedora.x86_64.rpm
> http://ftp.digitalmars.com/dmd-2.065.0~b3-0.openSUSE.i386.rpm
> http://ftp.digitalmars.com/dmd-2.065.0~b3-0.fedora.i386.rpm
>
> OSX
> http://ftp.digitalmars.com/dmd.2.065.0-b3.osx.zip
> http://ftp.digitalmars.com/dmd.2.065.0-b3.dmg
>
> Windows
> http://ftp.digitalmars.com/dmd.2.065.0-b3.exe
> http://ftp.digitalmars.com/dmd.2.065.0-b3.windows.zip
>
> The list of current regressions may be accessed here:
>
> http://d.puremagic.com/issues/buglist.cgi?query_format=
> advanced&bug_severity=regression&bug_status=NEW&bug_
> status=ASSIGNED&bug_status=REOPENED
>
> Regards,
> Andrew
>


Re: dmd 2.065 beta 3

2014-02-03 Thread Tiberiu Gal

On Monday, 3 February 2014 at 18:47:46 UTC, Andrew Edwards wrote:

On 2/3/14, 1:34 PM, Andrew Edwards wrote:

Binaries have been published:

Linux

http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_amd64.deb

http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_i386.deb


Should be:
http://ftp.digitalmars.com/libphobos2-65_2.065.0~b3-0_amd64.deb
http://ftp.digitalmars.com/libphobos2-65_2.065.0~b3-0_i386.deb



Windows
http://ftp.digitalmars.com/dmd.2.065.0-b3.exe


Should be
http://ftp.digitalmars.com/dmd-2.065.0-b3.exe


it works fine for me - using the default settings


Re: dmd 2.065 beta 3

2014-02-03 Thread evilrat

On Monday, 3 February 2014 at 18:37:20 UTC, Andrew Edwards wrote:
Windows users, please give the new installer a try. It has been 
updated to facilitate proper installation.


vc2013/win 8.1/winsdk 8.1
detects visual studio correctly, path to win sdk correctly.

has wrong path to mspdb120.dll, current:
PATH=%PATH%;%VCINSTALLDIR%\bin\x86_amd64;%VCINSTALLDIR%\..\Common7\IDE
should be:
PATH=%PATH%;%VCINSTALLDIR%\bin;%VCINSTALLDIR%\..\Common7\IDE

has no path to libs dir for sdk 8.1, should be:
; Platform libraries (Windows SDK 8.1)
LIB=%LIB%;"%WindowsSdkDir%\Lib\winv6.3\um\x64"

after these changes all seems to be working.


Re: dmd 2.065 beta 3

2014-02-03 Thread Andrew Edwards

On 2/3/14, 1:34 PM, Andrew Edwards wrote:

Binaries have been published:

Linux
 http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_amd64.deb
 http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_i386.deb


Should be:
http://ftp.digitalmars.com/libphobos2-65_2.065.0~b3-0_amd64.deb
http://ftp.digitalmars.com/libphobos2-65_2.065.0~b3-0_i386.deb



Windows
 http://ftp.digitalmars.com/dmd.2.065.0-b3.exe


Should be
http://ftp.digitalmars.com/dmd-2.065.0-b3.exe


Re: dmd 2.065 beta 3

2014-02-03 Thread Tiberiu Gal

On Monday, 3 February 2014 at 18:37:20 UTC, Andrew Edwards wrote:
Windows users, please give the new installer a try. It has been 
updated to facilitate proper installation.


http://ftp.digitalmars.com/dmd.2.065.0-b3.exe returns 404


Re: dmd 2.065 beta 2

2014-02-03 Thread Andrew Edwards

On 2/3/14, 1:14 PM, evilrat wrote:

On Sunday, 26 January 2014 at 23:38:56 UTC, Andrew Edwards wrote:

We've made a lot of progress towards the 2.065 stable release.
Available binaries are as follows:

Windows
http://ftp.digitalmars.com/dmd.2.065.0-b2.exe
http://ftp.digitalmars.com/dmd.2.065.0-b2.windows.zip



for some reason there is nothing downloaded by installer(have installed
zip manually), also installer seems not able to detect and add VC and
WinSDK paths (Win 8.1 x64, winsdk 8.1, visual studio 2013)

am i doing something wrong?


Up until now, the windows installer was broken. Try beta 3 instead.


Re: dmd 2.065 beta 3

2014-02-03 Thread Andrew Edwards
Windows users, please give the new installer a try. It has been updated 
to facilitate proper installation.


dmd 2.065 beta 3

2014-02-03 Thread Andrew Edwards

Following are the changes incorporated since beta 2:

DMD
Issue 10133 - ICE for templated static conditional lambda
Issue 11993 - typeof(this) in constraint of member function 
template should reflect method qualifier

Issue 11447 - Closure provide bogus values
Issue 12016 - implicit immutable upcast becomes null in CTFE
Issue 12008 - alias this and "unable to resolve forward reference"
Issue 12023 - template mixin fails within template class
Issue 12037 - Link-failure with std.numeric.CustomFloat
Issue 12038 - alias this and &this cause ICE
Issue 12017 - DDoc leaves out the majority of documentation
Issue 12040 - Compiler segfault with circular reference in variable 
type


Phobos
Issue 12024 - template instantiation for swap(SysTime, SysTime) fails
Issue 11973 - Please use any instead

Installer
Pull 45 - add alternative download for dmd.${Version2}.zip
Pull 52 - disable Audio and USB in VirtualBox
Pull 51 - use lib64 for phobo64.lib and gcstub64.obj on Windows
Pull 50 - only copy explicitly listed files from phobos
Pull 49 - Improved build automation using Vagrant
Pull 46 - fix deb copyright typo
Pull 48 - Update deb/rpm to new dmd versioning scheme.


Binaries have been published:

All Systems
http://ftp.digitalmars.com/dmd.2.065.0-b3.zip

FreeBSD
http://ftp.digitalmars.com/dmd.2.065.0-b3.freebsd-32.zip
http://ftp.digitalmars.com/dmd.2.065.0-b3.freebsd-64.zip

Linux
http://ftp.digitalmars.com/dmd.2.065.0-b3.linux.zip
http://ftp.digitalmars.com/dmd_2.065.0-b3-0_amd64.deb
http://ftp.digitalmars.com/dmd_2.065.0-b3-0_i386.deb
http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_amd64.deb
http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_i386.deb
http://ftp.digitalmars.com/dmd-2.065.0~b3-0.openSUSE.x86_64.rpm
http://ftp.digitalmars.com/dmd-2.065.0~b3-0.fedora.x86_64.rpm
http://ftp.digitalmars.com/dmd-2.065.0~b3-0.openSUSE.i386.rpm
http://ftp.digitalmars.com/dmd-2.065.0~b3-0.fedora.i386.rpm

OSX
http://ftp.digitalmars.com/dmd.2.065.0-b3.osx.zip
http://ftp.digitalmars.com/dmd.2.065.0-b3.dmg

Windows
http://ftp.digitalmars.com/dmd.2.065.0-b3.exe
http://ftp.digitalmars.com/dmd.2.065.0-b3.windows.zip

The list of current regressions may be accessed here:

http://d.puremagic.com/issues/buglist.cgi?query_format=advanced&bug_severity=regression&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED

Regards,
Andrew


Re: dmd 2.065 beta 2

2014-02-03 Thread evilrat

On Sunday, 26 January 2014 at 23:38:56 UTC, Andrew Edwards wrote:
We've made a lot of progress towards the 2.065 stable release. 
Available binaries are as follows:


Windows
http://ftp.digitalmars.com/dmd.2.065.0-b2.exe
http://ftp.digitalmars.com/dmd.2.065.0-b2.windows.zip



for some reason there is nothing downloaded by installer(have 
installed zip manually), also installer seems not able to detect 
and add VC and WinSDK paths (Win 8.1 x64, winsdk 8.1, visual 
studio 2013)


am i doing something wrong?


Re: Opensourced my web server written in D

2014-02-03 Thread Danny Arends
Rolled my own, It's purely to learn the language, but it has been 
tested by running my own website for almost 6 months now.


The only dependency is Deimos & openSSL for the HTTPS 
connections. which are still untested and kind of unstable


Gr,
Danny


On Monday, 3 February 2014 at 14:17:22 UTC, Rory McGuire wrote:
Interesting, are you using any event libraries or did you roll 
your own?



On Mon, Feb 3, 2014 at 12:02 PM, Danny Arends 
wrote:



I wrote a small web server in D to learn the language.
It's not done yet (what software ever is) but I wanted to show 
it off

anyway. As always of-course any feedback is welcome

See it here: https://github.com/DannyArends/DaNode

Gr,
Danny Arends
http://www.dannyarends.nl




Re: Opensourced my web server written in D

2014-02-03 Thread Rory McGuire
Interesting, are you using any event libraries or did you roll your own?


On Mon, Feb 3, 2014 at 12:02 PM, Danny Arends wrote:

> I wrote a small web server in D to learn the language.
> It's not done yet (what software ever is) but I wanted to show it off
> anyway. As always of-course any feedback is welcome
>
> See it here: https://github.com/DannyArends/DaNode
>
> Gr,
> Danny Arends
> http://www.dannyarends.nl
>


Re: Review Candidates awaited!

2014-02-03 Thread Dicebot

On Monday, 3 February 2014 at 10:16:50 UTC, Richard Webb wrote:
xmlp was looking pretty good, but the last change made to the 
source was in April last year, so I have to guess that Michael 
has abandoned it :-(


As far as I can see Michael code is Boost licensed so anyone can 
fork it and continiue as new champion.


Re: DirectX bindings

2014-02-03 Thread Benjamin Thaut

Am 03.02.2014 10:55, schrieb evilrat:

it has been for a long time since i released this bindings, so i wonder
if anyone uses this in their projects? it would be nice to see some
results of projects using this bindings :)


I'm currently using them. But there is nothing showabe yet. I will keep 
you posted.


Re: Review Candidates awaited!

2014-02-03 Thread Richard Webb

On 02/02/2014 01:35, Jonathan M Davis wrote:



I believe that the last time that Michael Rynn posted in the newsgroup was
towards the beginning of 2012, and I don't think that he posted very many
times before that, so I question that his proposal is ever going to go
anywhere, even if it's completed and fantastic. He doesn't look like he's
active enough to even see this call for review candidates let alone actually
active enough to go through the review process.

- Jonathan M Davis




xmlp was looking pretty good, but the last change made to the source was 
in April last year, so I have to guess that Michael has abandoned it :-(




Opensourced my web server written in D

2014-02-03 Thread Danny Arends

I wrote a small web server in D to learn the language.
It's not done yet (what software ever is) but I wanted to show it 
off anyway. As always of-course any feedback is welcome


See it here: https://github.com/DannyArends/DaNode

Gr,
Danny Arends
http://www.dannyarends.nl


Re: DirectX bindings

2014-02-03 Thread evilrat
it has been for a long time since i released this bindings, so i 
wonder if anyone uses this in their projects? it would be nice to 
see some results of projects using this bindings :)