Re: A New Import Idiom`

2017-02-13 Thread Daniel N via Digitalmars-d-announce
On Tuesday, 14 February 2017 at 02:32:33 UTC, Jerry wrote: On Monday, 13 February 2017 at 22:40:55 UTC, Ali Çehreli wrote: On 02/13/2017 06:28 AM, Mike Parker wrote: https://www.reddit.com/r/programming/comments/5tt33y/a_new_import_idiom_for_d/ I claimed there is a performance improvement

Re: A New Import Idiom`

2017-02-13 Thread Jerry via Digitalmars-d-announce
On Monday, 13 February 2017 at 22:40:55 UTC, Ali Çehreli wrote: On 02/13/2017 06:28 AM, Mike Parker wrote: https://www.reddit.com/r/programming/comments/5tt33y/a_new_import_idiom_for_d/ I claimed there is a performance improvement in compilation. Can someone answer kibwen's question on this

Re: Vibrant 2.0, major update

2017-02-13 Thread Guillaume Piolat via Digitalmars-d-announce
On Monday, 13 February 2017 at 22:57:18 UTC, Ali Çehreli wrote: All interesting stuff! Look how much interest the self-important idiom received, which the original author had thought to be a trivial matter: I hear you but for digital consumer products the driver of sales is from what

Re: Vibrant 2.0, major update

2017-02-13 Thread Ali Çehreli via Digitalmars-d-announce
On 02/13/2017 02:18 PM, Guillaume Piolat wrote: > https://www.auburnsounds.com/blog/2017-02-13_Vibrant-2.0-released-free-demo.html > > > There is nothing terribly interesting to say technically. I disagree because you've already given interesting details like the following and you said

Re: vibe.d 0.8.0 and 0.7.31 beta releases

2017-02-13 Thread Daniel Kozak via Digitalmars-d-announce
On Wednesday, 1 February 2017 at 14:01:39 UTC, Sönke Ludwig wrote: Am 01.02.2017 um 10:46 schrieb aberba: On Wednesday, 1 February 2017 at 09:35:02 UTC, Sönke Ludwig wrote: Am 31.01.2017 um 12:11 schrieb Sönke Ludwig: The first release of the revamped core module [1] is nearing, and along

Re: A New Import Idiom`

2017-02-13 Thread Ali Çehreli via Digitalmars-d-announce
On 02/13/2017 06:28 AM, Mike Parker wrote: https://www.reddit.com/r/programming/comments/5tt33y/a_new_import_idiom_for_d/ I claimed there is a performance improvement in compilation. Can someone answer kibwen's question on this subthread please:

Re: Vibrant 2.0, major update

2017-02-13 Thread Guillaume Piolat via Digitalmars-d-announce
On Monday, 13 February 2017 at 21:42:12 UTC, Ali Çehreli wrote: Typo: "I didn't expected" This was fixed after the video was uploaded and tagged so I kept it :| Have you already written a blog about developing this game? ;) Ali Thanks for the interest! v2.0:

Re: Vibrant 2.0, major update

2017-02-13 Thread Ali Çehreli via Digitalmars-d-announce
On 02/13/2017 06:22 AM, Guillaume Piolat wrote: It's the 10th update for this abstract shooter made in D. And this one update is pretty major: levels, asteroids, storyline, game modes... everything changed, everything went under scrutiny. Now using LDC 1.1.0 and supporting Windows, Mac and

Re: Vibrant 2.0, major update

2017-02-13 Thread Guillaume Piolat via Digitalmars-d-announce
On Monday, 13 February 2017 at 19:46:42 UTC, Jacob Carlborg wrote: On 2017-02-13 15:22, Guillaume Piolat wrote: It's the 10th update for this abstract shooter made in D. And this one update is pretty major: levels, asteroids, storyline, game modes... everything changed, everything went under

Re: A New Import Idiom`

2017-02-13 Thread Daniel Nielsen via Digitalmars-d-announce
On Monday, 13 February 2017 at 21:04:05 UTC, Johan Engelen wrote: On Monday, 13 February 2017 at 20:09:45 UTC, Daniel Nielsen wrote: I still suspect there will be a difference in real-world applications even with LDC. Why would you expect there to be a difference? Module ctors/dtors are

Re: A New Import Idiom`

2017-02-13 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 13 February 2017 at 20:09:45 UTC, Daniel Nielsen wrote: I still suspect there will be a difference in real-world applications even with LDC. Why would you expect there to be a difference? Module ctors/dtors are still pulled in, regardless of the import being selective or not.

Re: A New Import Idiom`

2017-02-13 Thread Daniel Nielsen via Digitalmars-d-announce
On Monday, 13 February 2017 at 19:41:11 UTC, Johan Engelen wrote: But for a full program, compile time is the same (it's really short so you can't really conclude much from it), and binary size as well (LDC 1.1.0, -O3). For my test cases below, the binaries are identical, except for around 30

Re: Vibrant 2.0, major update

2017-02-13 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-02-13 15:22, Guillaume Piolat wrote: It's the 10th update for this abstract shooter made in D. And this one update is pretty major: levels, asteroids, storyline, game modes... everything changed, everything went under scrutiny. Now using LDC 1.1.0 and supporting Windows, Mac and Linux

Re: A New Import Idiom`

2017-02-13 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 13 February 2017 at 14:28:20 UTC, Mike Parker wrote: Daniel Nielsen put together a post ... [1] https://dlang.org/blog/2017/02/13/a-new-import-idiom/ I also liked the post, nicely written. I didn't check, but if this idiom is not already tested in dmd-testsuite, please add it!

Re: A New Import Idiom`

2017-02-13 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 13 February 2017 at 15:04:53 UTC, Daniel N wrote: On Monday, 13 February 2017 at 15:00:24 UTC, jmh530 wrote: With the Jack Stouffer comparison, wouldn't it be fairer to do: import std.datetime : Systime; import std.traits : isIntegral; Probably, please help measuring your idea

Re: A New Import Idiom`

2017-02-13 Thread Bastiaan Veelo via Digitalmars-d-announce
On Monday, 13 February 2017 at 14:28:20 UTC, Mike Parker wrote: Daniel Nielsen put together a post [1] https://dlang.org/blog/2017/02/13/a-new-import-idiom/ An entertaining read!

Re: A New Import Idiom`

2017-02-13 Thread Daniel N via Digitalmars-d-announce
On Monday, 13 February 2017 at 16:17:49 UTC, jmh530 wrote: So I tried it again comparing all three versions on my machine. This time I didn't notice a difference in compilation speed or binary size between the version with import std.datetime; import std.traits; and the one with import

Re: A New Import Idiom`

2017-02-13 Thread jmh530 via Digitalmars-d-announce
On Monday, 13 February 2017 at 15:04:53 UTC, Daniel N wrote: Probably, please help measuring your idea and post it here. I intentionally chose a test made by someone else to avoid biasing from my part. It was the only test I found at time of writing. The first time I did it, I got a ~60%

Re: Munich D Meetup - February 14, 2017: D and the Cloud - D-Lovers Special

2017-02-13 Thread Ozan (O/N/S) via Digitalmars-d-announce
On Saturday, 4 February 2017 at 17:56:55 UTC, Stefan wrote: in 10 days will be our next Munich D Meetup. Would be awesome to welcome some of you there. Agenda: • 18:00: Get together with Pizza and beer • 18:45: D and the Cloud, by Ozan • 19:30: Short Break • 19:40: Usage of the D Compiler in

Beta D 2.073.1-b2

2017-02-13 Thread Martin Nowak via Digitalmars-d-announce
Second beta for the 2.073.1 point release. This version resolves a few regressions and bugs in the 2.073.0 release. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.073.1.html Please report any bugs at https://issues.dlang.org -Martin

Re: A New Import Idiom`

2017-02-13 Thread Daniel N via Digitalmars-d-announce
On Monday, 13 February 2017 at 15:00:24 UTC, jmh530 wrote: On Monday, 13 February 2017 at 14:28:20 UTC, Mike Parker wrote: Daniel Nielsen put together a post describing the import idiom that came to light in a recent forum discussion regarding DIP 1005 [3]. The relevant links are at [1] and

Re: A New Import Idiom`

2017-02-13 Thread jmh530 via Digitalmars-d-announce
On Monday, 13 February 2017 at 14:28:20 UTC, Mike Parker wrote: Daniel Nielsen put together a post describing the import idiom that came to light in a recent forum discussion regarding DIP 1005 [3]. The relevant links are at [1] and [2]. [1]

Vibrant 2.0, major update

2017-02-13 Thread Guillaume Piolat via Digitalmars-d-announce
It's the 10th update for this abstract shooter made in D. And this one update is pretty major: levels, asteroids, storyline, game modes... everything changed, everything went under scrutiny. Now using LDC 1.1.0 and supporting Windows, Mac and Linux x86_64 (tested: Debian and Ubuntu).

A New Import Idiom`

2017-02-13 Thread Mike Parker via Digitalmars-d-announce
Daniel Nielsen put together a post describing the import idiom that came to light in a recent forum discussion regarding DIP 1005 [3]. The relevant links are at [1] and [2]. [1] https://dlang.org/blog/2017/02/13/a-new-import-idiom/ [2]

Berlin D Meetup February 2017

2017-02-13 Thread Ben Palmer via Digitalmars-d-announce
Hi All, The Berlin February D meetup is happening this Friday (17th) at 19:30 at Berlin Co-Op (http://co-up.de/) on the fifth floor. Mihails Strasuns will be presenting a talk on "Testing D projects with GitLab CI and Docker" and a brief introductions is below. "Hobby projects often