Re: LDC 1.7.0

2018-02-02 Thread aberba via Digitalmars-d-announce

On Friday, 2 February 2018 at 12:57:44 UTC, Kagamin wrote:

On Tuesday, 30 January 2018 at 19:57:39 UTC, aberba wrote:

now it seem abandoned after such an effort.


Can you confirm it for Ubuntu 17?


I'm on 16.04.


Re: My LDC talk this weekend @ FOSDEM'18

2018-02-02 Thread Nicholas Wilson via Digitalmars-d-announce

On Friday, 2 February 2018 at 19:37:42 UTC, Kai Nacke wrote:

Hi everybody!

I am still around and try to get more active. Like last year, I 
am going to FOSDEM this weekend.


I am a speaker in the LLVM toolchain devroom @ FOSDEM'18. My 
talk is about DCompute which I consider to be an awesome 
feature. Of course all credits go to Nicholas Wilson!


Read the announcement at 
https://fosdem.org/2018/schedule/event/heterogenousd/.


FOSDEM is a two-day event organised by volunteers to promote 
the widespread use of open source software.


Taking place in the beautiful city of Brussels (Belgium), 
FOSDEM is widely recognised as "the best open source conference 
in Europe".


FOSDEM 2018 will take place at ULB Campus Solbosch on Saturday 
3 and Sunday 4 February 2018. Read more about the event at 
https://fosdem.org/2018/.


Regards,
Kai


Thanks!

It's a pity I can't make it at short notice, since I'm in London 
at the moment.
If you could do me a favour and convince the LLVM folks they need 
a SPIR-V backend that'd be great ;) (I plan to spearhead it at 
IWOCL just after DConf but a prod^H^H^H^H gentle reminder won't 
go astray).


I look forward to watching the recording.

All the best
Nic


@dlang_ng is now tweeting about NG.announce on Twitter

2018-02-02 Thread Seb via Digitalmars-d-announce
For those people who want to be notified immediately about new 
announcements in #dlang, there's now @dlang_ng:


https://twitter.com/dlang_ng

Huge thanks and credits go to Vladimir for taking my initial 
implementation and putting it into DFeed.


Also credits go to rjframe for posting this idea yesterday on the 
NG: https://forum.dlang.org/post/p4uubg$1rbl$1...@digitalmars.com


My LDC talk this weekend @ FOSDEM'18

2018-02-02 Thread Kai Nacke via Digitalmars-d-announce

Hi everybody!

I am still around and try to get more active. Like last year, I 
am going to FOSDEM this weekend.


I am a speaker in the LLVM toolchain devroom @ FOSDEM'18. My talk 
is about DCompute which I consider to be an awesome feature. Of 
course all credits go to Nicholas Wilson!


Read the announcement at 
https://fosdem.org/2018/schedule/event/heterogenousd/.


FOSDEM is a two-day event organised by volunteers to promote the 
widespread use of open source software.


Taking place in the beautiful city of Brussels (Belgium), FOSDEM 
is widely recognised as "the best open source conference in 
Europe".


FOSDEM 2018 will take place at ULB Campus Solbosch on Saturday 3 
and Sunday 4 February 2018. Read more about the event at 
https://fosdem.org/2018/.


Regards,
Kai


Re: Beta 2.078.2

2018-02-02 Thread Steven Schveighoffer via Digitalmars-d-announce

On 2/2/18 4:29 AM, Seb wrote:

On Friday, 2 February 2018 at 08:34:32 UTC, Antonio Corbi wrote:


Wouldn't it be good to include a fix for errors like produced by 
int.min assigned to a variable 
(https://forum.dlang.org/post/p4l7kt$80d$1...@digitalmars.com) in a point 
release like this?


No, while I understand that you would like this to be fixed, this change 
might be disruptive - you never know on what weird behavior people rely. 
Anything potentially breaking existing code can't be part of a patch 
release.


In some cases, yes, we need to have a deprecation period as people may 
depend on the behavior.


In this case, however, the codegen is simply wrong. It can be fixed 
immediately. I would hazard to guess that nobody is depending on int.min 
being greater than 0.


Also AFAICT no one has submitted a PR to fix the issue you referenced, 
so it's a hypothetical question (for now).


I would suggest to would-be fixers, just do the correct thing that may 
be less performant, and we can worry about optimizing later (and add a 
unit test of course!). There is nothing worse than a compiler that 
doesn't emit the code you expect it to.


-Steve


Re: LDC 1.7.0

2018-02-02 Thread Seb via Digitalmars-d-announce

On Tuesday, 30 January 2018 at 19:57:39 UTC, aberba wrote:
On Tuesday, 30 January 2018 at 18:30:56 UTC, Johan Engelen 
wrote:

On Tuesday, 30 January 2018 at 09:38:26 UTC, aberba wrote:
On Monday, 29 January 2018 at 07:40:10 UTC, Dominikus Dittes 
Scherkl wrote:

On Saturday, 27 January 2018 at 21:42:49 UTC, aberba wrote:

[...] Ubuntu 16.04

This is a long-term support distribution.
Don't expect those to have actual tip versions of any SW 
package!
They rely on stabe versions that don't have the latest 
features

but only those very well tested.


The semver 1.7 is not an unstable package. Its that their 
reason for no updates?


LDC 1.7.0 includes major changes to the frontend and is not 
well-tested.
If you want a better-tested recent LDC, I recommend LDC 1.6.0, 
which is used in production at Weka.


- Johan


I expected at least 1.6 to be available in the repo by now. I 
remember the availability of LDC in ubuntu was celebrated 
here...now it seem abandoned after such an effort. Maybe 
someone from the team can answer what happened.


1.6 is in Debian - as other explained before Debian is __very__ 
focused on stability.


https://packages.debian.org/sid/ldc ("Unstable" - 1.6)
https://packages.debian.org/buster/ldc (Debian 9 - 1.5)
https://packages.debian.org/jessie/ldc (Debian 8 - 1.0)

Ubuntu usually lags one version behind Debian packages:

https://packages.ubuntu.com/bionic/ldc ("Unstable" - 1.5)
https://packages.ubuntu.com/artful/ldc (17.10 - 1.4)

If you want to have the latest D compiler on Debian/Ubuntu, you 
have these options:


- use d-apt (d-apt.sourceforge.net)
- use the official install script (https://dlang.org/install.html)
- install the official deb package yourself 
(https://dlang.org/download.html)

- use a different distro

This is not something that can __ever__ be fixed. It's the 
fundamental way Debian's packaging and release cycle work.


Re: LDC 1.7.0

2018-02-02 Thread Kagamin via Digitalmars-d-announce

On Tuesday, 30 January 2018 at 19:57:39 UTC, aberba wrote:

now it seem abandoned after such an effort.


Can you confirm it for Ubuntu 17?


Re: Beta 2.078.2

2018-02-02 Thread Antonio Corbi via Digitalmars-d-announce

On Friday, 2 February 2018 at 09:29:15 UTC, Seb wrote:

On Friday, 2 February 2018 at 08:34:32 UTC, Antonio Corbi wrote:

On Thursday, 1 February 2018 at 18:21:22 UTC, Seb wrote:

[...]


Wouldn't it be good to include a fix for errors like produced 
by int.min assigned to a variable 
(https://forum.dlang.org/post/p4l7kt$80d$1...@digitalmars.com) in 
a point release like this?


A. Corbi


No, while I understand that you would like this to be fixed, 
this change might be disruptive - you never know on what weird 
behavior people rely. Anything potentially breaking existing 
code can't be part of a patch release.


Also AFAICT no one has submitted a PR to fix the issue you 
referenced, so it's a hypothetical question (for now).


Thanks Seb, that makes sense.

A. Corbi


Re: Very tiny script for testing D projects with Pijul version control system.

2018-02-02 Thread Suliman via Digitalmars-d-announce

Good news!
Working version:

@echo off
for %%a in ("%cd%") do set folder=%%~na
winscp.com /command  "open devuser@172.16.16.11 
-privatekey=C:\Users\suliman\.ssh\123.ppk" "put latest.tar.gz 
/home/devuser/folder/" "exit"


1. File-name hard-coded
2. WinSCP should be installed and added to PATH


Re: Beta 2.078.2

2018-02-02 Thread Seb via Digitalmars-d-announce

On Friday, 2 February 2018 at 08:34:32 UTC, Antonio Corbi wrote:

On Thursday, 1 February 2018 at 18:21:22 UTC, Seb wrote:
On Thursday, 1 February 2018 at 17:32:09 UTC, Andrew Benton 
wrote:
On Thursday, 1 February 2018 at 16:01:18 UTC, Martin Nowak 
wrote:

First beta for the 2.078.2 patch release.

Contains a major regression fix for hashtable array 
comparison and comes with  more reliable retries and 
fallback mirror usage for dub 
(https://github.com/dlang/dub/pull/1339).


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


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

- -Martin


Changelog page returns a 404


It got lost in the merge queue - 
https://github.com/dlang/dlang.org/pull/2158


I just merged it. It should be up in a few minutes.


Wouldn't it be good to include a fix for errors like produced 
by int.min assigned to a variable 
(https://forum.dlang.org/post/p4l7kt$80d$1...@digitalmars.com) in 
a point release like this?


A. Corbi


No, while I understand that you would like this to be fixed, this 
change might be disruptive - you never know on what weird 
behavior people rely. Anything potentially breaking existing code 
can't be part of a patch release.


Also AFAICT no one has submitted a PR to fix the issue you 
referenced, so it's a hypothetical question (for now).


Re: Beta 2.078.2

2018-02-02 Thread Antonio Corbi via Digitalmars-d-announce

On Thursday, 1 February 2018 at 18:21:22 UTC, Seb wrote:
On Thursday, 1 February 2018 at 17:32:09 UTC, Andrew Benton 
wrote:
On Thursday, 1 February 2018 at 16:01:18 UTC, Martin Nowak 
wrote:

First beta for the 2.078.2 patch release.

Contains a major regression fix for hashtable array 
comparison and comes with  more reliable retries and fallback 
mirror usage for dub (https://github.com/dlang/dub/pull/1339).


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


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

- -Martin


Changelog page returns a 404


It got lost in the merge queue - 
https://github.com/dlang/dlang.org/pull/2158


I just merged it. It should be up in a few minutes.


Wouldn't it be good to include a fix for errors like produced by 
int.min assigned to a variable 
(https://forum.dlang.org/post/p4l7kt$80d$1...@digitalmars.com) in a 
point release like this?


A. Corbi