Re: Release D 2.089.0

2019-11-05 Thread John Chapman via Digitalmars-d-announce
On Wednesday, 6 November 2019 at 01:16:00 UTC, Manu wrote: On Tue, Nov 5, 2019 at 5:14 PM Manu wrote: On Tue, Nov 5, 2019 at 1:20 PM John Chapman via Digitalmars-d-announce wrote: > > On Tuesday, 5 November 2019 at 19:05:10 UTC, Manu wrote: > > Incidentally, in your sample above there, `a`

Re: Release D 2.089.0

2019-11-05 Thread Heromyth via Digitalmars-d-announce
On Tuesday, 5 November 2019 at 19:05:10 UTC, Manu wrote: On Mon, Nov 4, 2019 at 11:55 PM John Chapman via Digitalmars-d-announce wrote: [...] [...] The keyword of share is really annoying for a class。

Re: Release D 2.089.0

2019-11-05 Thread Heromyth via Digitalmars-d-announce
On Tuesday, 5 November 2019 at 07:52:12 UTC, John Chapman wrote: On Tuesday, 5 November 2019 at 06:44:29 UTC, Manu wrote: On Mon., 4 Nov. 2019, 2:05 am John Chapman via Digitalmars-d-announce, < digitalmars-d-announce@puremagic.com> wrote: [...] Changes were made because there were a lot o

Re: Release D 2.089.0

2019-11-05 Thread Manu via Digitalmars-d-announce
On Tue, Nov 5, 2019 at 5:14 PM Manu wrote: > > On Tue, Nov 5, 2019 at 1:20 PM John Chapman via Digitalmars-d-announce > wrote: > > > > On Tuesday, 5 November 2019 at 19:05:10 UTC, Manu wrote: > > > Incidentally, in your sample above there, `a` and `b` are not > > > shared... why not just write: `

Re: Release D 2.089.0

2019-11-05 Thread Manu via Digitalmars-d-announce
On Tue, Nov 5, 2019 at 1:20 PM John Chapman via Digitalmars-d-announce wrote: > > On Tuesday, 5 November 2019 at 19:05:10 UTC, Manu wrote: > > Incidentally, in your sample above there, `a` and `b` are not > > shared... why not just write: `cas(&a, null, b);` ?? If source > > data is not shared, yo

Re: D for microservices: ldc, rdmd, dub now available on Alpine x86_64

2019-11-05 Thread sarn via Digitalmars-d-announce
On Tuesday, 5 November 2019 at 12:20:04 UTC, Jacob Carlborg wrote: On Tuesday, 5 November 2019 at 11:49:20 UTC, Daniel Kozak wrote: Generally no, because Apline use musl libc instead of glibc, so there are some issues with that The correct way is to use static linking and putting only the bi

Re: Release D 2.089.0

2019-11-05 Thread John Chapman via Digitalmars-d-announce
On Tuesday, 5 November 2019 at 19:05:10 UTC, Manu wrote: Incidentally, in your sample above there, `a` and `b` are not shared... why not just write: `cas(&a, null, b);` ?? If source data is not shared, you shouldn't cast to shared. Because casts were needed in 2.088 and earlier and I just upda

LDC 1.19.0-beta1

2019-11-05 Thread kinke via Digitalmars-d-announce
Glad to announce the first beta for LDC 1.19: * Based on D 2.089.0. * Slight codegen improvements, incl. a breaking extern(D) ABI change for Posix x86[_64] targets, and dead branch elimination for if statements with constant condition (in the hopes of possibly increasing compilation speed). *

Re: Release D 2.089.0

2019-11-05 Thread Manu via Digitalmars-d-announce
On Mon, Nov 4, 2019 at 11:55 PM John Chapman via Digitalmars-d-announce wrote: > > On Tuesday, 5 November 2019 at 06:44:29 UTC, Manu wrote: > > On Mon., 4 Nov. 2019, 2:05 am John Chapman via > > Digitalmars-d-announce, < digitalmars-d-announce@puremagic.com> > > wrote: > > > >> Something has chang

Re: DIP 1021--Argument Ownership and Function Calls--Formal Assessment

2019-11-05 Thread Ola Fosheim Grøstad via Digitalmars-d-announce
On Monday, 28 October 2019 at 19:23:30 UTC, jmh530 wrote: they are all const. That there is only one mutable way to access data sounds like restrict to me. Well, if you add the constraint that there also is no const way to access the data. But unique ownership is stricter than «restrict», wh

Re: DIP 1021--Argument Ownership and Function Calls--Formal Assessment

2019-11-05 Thread Ola Fosheim Grøstad via Digitalmars-d-announce
On Monday, 28 October 2019 at 21:53:50 UTC, Walter Bright wrote: I've always known it was a bad idea (not just me, it was common knowledge). People have a hard time understanding restrict, and are guaranteed to use it wrong. Let alone errors using it from people who do understand it. Compiler

Re: D for microservices: ldc, rdmd, dub now available on Alpine x86_64

2019-11-05 Thread Guillaume Piolat via Digitalmars-d-announce
On Tuesday, 5 November 2019 at 02:16:28 UTC, Mathias Lang wrote: At BPF Korea, we're working on a blockchain written in D Hello, Sorry if this has been said already: would you consider being listed in https://dlang.org/orgs-using-d.html? Thanks

Re: D for microservices: ldc, rdmd, dub now available on Alpine x86_64

2019-11-05 Thread Sönke Ludwig via Digitalmars-d-announce
Am 05.11.2019 um 10:48 schrieb Petar Kirov [ZombineDev]: On Tuesday, 5 November 2019 at 02:16:28 UTC, Mathias Lang wrote: [..] That's great news! Thanks a lot for your hard work! # Note: This will redownload your dependencies every time, which doesn't play well with docker I have been mean

Re: D for microservices: ldc, rdmd, dub now available on Alpine x86_64

2019-11-05 Thread Jacob Carlborg via Digitalmars-d-announce
On Tuesday, 5 November 2019 at 11:49:20 UTC, Daniel Kozak wrote: Generally no, because Apline use musl libc instead of glibc, so there are some issues with that The correct way is to use static linking and putting only the binary in a Docker image, i.e. "from scratch" [1] ;). But using Alpin

Re: D for microservices: ldc, rdmd, dub now available on Alpine x86_64

2019-11-05 Thread Daniel Kozak via Digitalmars-d-announce
On Tue, Nov 5, 2019 at 12:05 PM Dejan Lekic via Digitalmars-d-announce wrote: > > On Tuesday, 5 November 2019 at 02:16:28 UTC, Mathias Lang wrote: > > Hi all, > > Recently there have been inquiries about support for D on > > Alpine Linux, a distribution mostly used in combination with > > Docker t

Re: D for microservices: ldc, rdmd, dub now available on Alpine x86_64

2019-11-05 Thread Dejan Lekic via Digitalmars-d-announce
On Tuesday, 5 November 2019 at 02:16:28 UTC, Mathias Lang wrote: Hi all, Recently there have been inquiries about support for D on Alpine Linux, a distribution mostly used in combination with Docker to create lightweight container images for microservices. At BPF Korea, we're working on a blo

Re: D for microservices: ldc, rdmd, dub now available on Alpine x86_64

2019-11-05 Thread Petar via Digitalmars-d-announce
On Tuesday, 5 November 2019 at 02:16:28 UTC, Mathias Lang wrote: [..] That's great news! Thanks a lot for your hard work! # Note: This will redownload your dependencies every time, which doesn't play well with docker I have been meaning to add a docker and CI friendly command to dub that f

Re: D for microservices: ldc, rdmd, dub now available on Alpine x86_64

2019-11-05 Thread aliak via Digitalmars-d-announce
On Tuesday, 5 November 2019 at 02:16:28 UTC, Mathias Lang wrote: Hi all, Recently there have been inquiries about support for D on Alpine Linux, a distribution mostly used in combination with Docker to create lightweight container images for microservices. [...] This is great! Much thanks t