grain - D Language for Deep Learning

2019-04-23 Thread Andrei Alexandrescu via Digitalmars-d-announce
Google Alerts just found these slides: https://speakerdeck.com/shigekikarita/grain-d-language-for-deep-learning Does anyone have more information about this?

Re: DIP 1018--The Copy Constructor--Formal Review

2019-02-27 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 02/25/2019 03:41 PM, Paolo Invernizzi wrote: On Monday, 25 February 2019 at 20:23:58 UTC, Andrei Alexandrescu wrote: On 2/25/19 3:23 PM, Jacob Carlborg wrote: On 2019-02-25 20:24, Mike Parker wrote: From the process document: “the DIP Manager or the Language Maintainers may allow for

Re: The D Programming Language has been accepted as a GSoC 2019 organization

2019-02-26 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 2/26/19 5:34 PM, Seb wrote: Hi all, I have some very exciting news to share. The D Language Language got accepted as a Google Summer of Code organization! A few of us were waiting for permission to announce all day :o). Congratulations to Mike, Seb, and all others who made our proposal

Re: DIP 1018--The Copy Constructor--Formal Review

2019-02-25 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 2/25/19 9:26 PM, Manu wrote: On Mon, Feb 25, 2019 at 12:20 PM Andrei Alexandrescu via Digitalmars-d-announce wrote: On 2/25/19 2:41 PM, bachmeier wrote: On Monday, 25 February 2019 at 19:24:55 UTC, Mike Parker wrote: From the process document: “the DIP Manager or the Language

Re: DIP 1018--The Copy Constructor--Formal Review

2019-02-25 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 2/25/19 7:23 PM, Nicholas Wilson wrote: There are similarities and differences between our DIP process and paper submission reviews at conferences and journals everywhere; one key similarity is that the submitters are on hook for providing convincing submissions, whereas reviewers are not

Re: DIP 1018--The Copy Constructor--Formal Review

2019-02-25 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 2/25/19 6:09 PM, Olivier FAURE wrote: Yes, this DIP was fast-tracked. Yes, this can feel unfair. And yet, it makes sense that it was fast-tracked, because it fits a priority of the project owners (C++ interoperability + reference counting) and project owners are allowed to have priorities.

Re: DIP 1018--The Copy Constructor--Formal Review

2019-02-25 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 2/25/19 3:41 PM, Paolo Invernizzi wrote: On Monday, 25 February 2019 at 20:23:58 UTC, Andrei Alexandrescu wrote: On 2/25/19 3:23 PM, Jacob Carlborg wrote: On 2019-02-25 20:24, Mike Parker wrote:  From the process document: “the DIP Manager or the Language Maintainers may allow for

Re: DIP 1018--The Copy Constructor--Formal Review

2019-02-25 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 2/25/19 3:23 PM, Jacob Carlborg wrote: On 2019-02-25 20:24, Mike Parker wrote:  From the process document: “the DIP Manager or the Language Maintainers may allow for exceptions which waive requirements or responsibilities at their discretion.” Having it documented doesn't make it less

Re: DIP 1018--The Copy Constructor--Formal Review

2019-02-25 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 2/25/19 2:41 PM, bachmeier wrote: On Monday, 25 February 2019 at 19:24:55 UTC, Mike Parker wrote: From the process document: “the DIP Manager or the Language Maintainers may allow for exceptions which waive requirements or responsibilities at their discretion.” If you were to write a

Re: DIP 1018--The Copy Constructor--Formal Review

2019-02-25 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 2/25/19 2:24 PM, Mike Parker wrote: On Monday, 25 February 2019 at 18:51:17 UTC, Jacob Carlborg wrote: On 2019-02-24 11:46, Mike Parker wrote: Walter and Andrei have requested the Final Review round be dropped for DIP 1018, "The Copy Constructor", and have given it their formal approval.

Re: DIP 1018--The Copy Constructor--Formal Review

2019-02-25 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 2/25/19 1:39 PM, Jacob Carlborg wrote: On 2019-02-25 17:31, Andrei Alexandrescu wrote: The proposers (Razvan and myself) and Walter (the reviewer) do not know how to make DIP 1018 better. That shouldn't justify accepting a DIP that might contain problems. Definitely. But of course, if

Re: DIP 1018--The Copy Constructor--Formal Review

2019-02-25 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 2/24/19 4:02 PM, Manu wrote: On Sun, Feb 24, 2019 at 2:50 AM Mike Parker via Digitalmars-d-announce wrote: Walter and Andrei have requested the Final Review round be dropped for DIP 1018, "The Copy Constructor", and have given it their formal approval. They consider copy constructors a

Re: DIP 1018--The Copy Constructor--Formal Review

2019-02-25 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 2/25/19 10:45 AM, Atila Neves wrote: The *only* problem I have with const in D is that const values can't be copied, which is silly. I'd expect DIP1018 to fix that. Affirmative. It was tricky.

Re: DIP 1018--The Copy Constructor--Formal Review

2019-02-25 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 2/25/19 1:06 AM, Nicholas Wilson wrote: On Monday, 25 February 2019 at 02:56:13 UTC, Walter Bright wrote: Your DIP, and nobody else is going to do it, so it falls to me. It will be reviewed at Dconf, please make sure you have an _accurate_ summary of your criticisms of the DIP ready for

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-02-03 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 2/1/19 8:15 PM, 12345swordy wrote: On Friday, 1 February 2019 at 23:24:44 UTC, Olivier FAURE wrote: On Friday, 1 February 2019 at 09:10:15 UTC, aliak wrote: Shouldn't doubleMyValue(pt.x) be a compiler error if pt.x is a getter? For it not to be a compile error pt.x should also have a

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-01-31 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/31/19 4:42 PM, Olivier FAURE wrote: On Thursday, 31 January 2019 at 16:38:42 UTC, Steven Schveighoffer wrote: Yeah, that's already a thing that ref in D doesn't protect against: It took me a while to understand what the compiler was doing. This really feels like something that shouldn't

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-01-31 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/31/19 11:38 AM, Steven Schveighoffer wrote: On 1/31/19 11:04 AM, Olivier FAURE wrote: On Thursday, 31 January 2019 at 02:10:05 UTC, Manu wrote: I still can't see a truck-sized hole. I don't know if it's truck-sized, but here's another corner case: int doubleMyValue(ref int x) {    

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-01-30 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/30/19 10:12 PM, Manu wrote: On Wed, Jan 30, 2019 at 7:05 PM Nicholas Wilson via Digitalmars-d-announce wrote: On Thursday, 31 January 2019 at 02:10:05 UTC, Manu wrote: On Wed, Jan 30, 2019 at 1:05 PM Andrei Alexandrescu via fun(my_short); // implicit type conversions (ie, short->int

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-01-30 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/30/19 10:05 PM, Manu wrote: On Wed, Jan 30, 2019 at 6:40 PM Nicholas Wilson via Digitalmars-d-announce wrote: On Wednesday, 30 January 2019 at 18:29:37 UTC, Manu wrote: On Wed, Jan 30, 2019 at 9:20 AM Neia Neutuladh via Digitalmars-d-announce wrote: The result of a CastExpression is

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-01-30 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/30/19 9:10 PM, Manu wrote: * Its own author seems to not have an understanding of what the DIP proposes. More classy comments. I can't get enough of the way you belittle people. You're right. I have deleted this post a few seconds after having sent it on account of that remark, but

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-01-30 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/30/19 1:29 PM, Manu wrote: On Wed, Jan 30, 2019 at 9:20 AM Neia Neutuladh via Digitalmars-d-announce wrote: On Wed, 30 Jan 2019 09:15:36 -0800, Manu wrote: Why are you so stuck on this case? The DIP is about accepting rvalues, not lvalues... Calling with 'p', an lvalue, is not subject

Re: DIP 1016 should use expression lowering, not statement lowering

2019-01-30 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/30/19 3:34 AM, Kagamin wrote: On Tuesday, 29 January 2019 at 11:52:40 UTC, Andrei Alexandrescu wrote: Where should the temporary go? Doesn't D already specify allocation and lifetime of temporaries? AIU the DIP doesn't invent the notion of a temporary. My bad, I overloaded the term

Re: DIP 1016 should use expression lowering, not statement lowering

2019-01-29 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/29/19 10:57 AM, Adam D. Ruppe wrote: On Tuesday, 29 January 2019 at 15:48:23 UTC, Andrei Alexandrescu wrote: On 1/29/19 10:44 AM, Nicholas Wilson wrote:   if (auto val = expr(); val) { ... }, Since we don't have these constructs, lowering would need to explain what happens here.

Re: DIP 1016 should use expression lowering, not statement lowering

2019-01-29 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/29/19 10:44 AM, Nicholas Wilson wrote: On Tuesday, 29 January 2019 at 11:52:40 UTC, Andrei Alexandrescu wrote: While writing this example: int[] a = cast(int[]) alloc.allocate(100 * int.sizeof); if (alloc.reallocate(a, 200 * int.sizeof)) {     assert(a.length == 200); } => int[] a =

DIP 1016 should use expression lowering, not statement lowering

2019-01-29 Thread Andrei Alexandrescu via Digitalmars-d-announce
While writing this example: int[] a = cast(int[]) alloc.allocate(100 * int.sizeof); if (alloc.reallocate(a, 200 * int.sizeof)) { assert(a.length == 200); } => int[] a = cast(int[]) alloc.allocate(100 * int.sizeof); void[] __temp0 = a; if (alloc.reallocate(__temp0, 200 * int.sizeof) {

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-01-29 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/29/19 6:45 AM, Andrei Alexandrescu wrote: It is truly remarkable that DIP 1016 provides not only a solution to the problem, but almost neglects to mention it. Meant "...not only no solution..."

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-01-29 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/29/19 3:35 AM, Manu wrote: 1. All of this is more useful criticism than the official and final criticism affixed to the rejection, which when revised to remove the incorrect criticisms, is basically left with the text "The Language Maintainers found other issues with the proposal, most of

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-01-29 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/29/19 6:38 AM, Nicholas Wilson wrote: On Tuesday, 29 January 2019 at 08:35:11 UTC, Manu wrote: 4. "Under DIP 1016, a call with any T[] will silently "succeed"  by converting the slice to void[]"  <--  Do you mean "... with any T[] rvalue ..."? What would be the aim of that call? Can you

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-01-29 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/29/19 1:01 AM, Manu wrote: This DIP is about passing rvalues to ref... so the issue you describe passing lvalues to ref does not apply here. There is no suggestion to change lvalue rules anywhere in this DIP. The problem is with rvalues resulting as temporaries from lvalues. As in: void

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-01-28 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/28/19 5:23 PM, Steven Schveighoffer wrote: I already see this kind of bug all the time with alias this. Can you please post more detail? It may be of relevance to future work.

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-01-28 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/28/19 1:00 PM, Andrei Alexandrescu wrote: On 1/24/19 3:01 PM, kinke wrote: On Thursday, 24 January 2019 at 09:49:14 UTC, Manu wrote: We discussed and concluded that one mechanism to mitigate this issue was already readily available, and it's just that 'out' gains a much greater sense of

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-01-28 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/24/19 3:01 PM, kinke wrote: On Thursday, 24 January 2019 at 09:49:14 UTC, Manu wrote: We discussed and concluded that one mechanism to mitigate this issue was already readily available, and it's just that 'out' gains a much greater sense of identity (which is actually a positive

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-01-28 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/24/19 2:18 AM, Mike Parker wrote: Walter and Andrei have declined to accept DIP 1016, "ref T accepts r-values", on the grounds that it has two fundamental flaws that would open holes in the language. They are not opposed to the feature in principle and suggested that a proposal that

Top Five World’s Most Underrated Programming Languages

2019-01-14 Thread Andrei Alexandrescu via Digitalmars-d-announce
Of possible interest: https://www.technotification.com/2019/01/most-underrated-programming-languages.html

Re: My Meeting C++ Keynote video is now available

2019-01-12 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/12/19 7:21 PM, Bastiaan Veelo wrote: On Saturday, 12 January 2019 at 15:51:03 UTC, Andrei Alexandrescu wrote: https://youtube.com/watch?v=tcyb1lpEHm0 If nothing else please watch the opening story, it's true and quite funny :o). Now as to the talk, as you could imagine, it touches on

My Meeting C++ Keynote video is now available

2019-01-12 Thread Andrei Alexandrescu via Digitalmars-d-announce
https://youtube.com/watch?v=tcyb1lpEHm0 If nothing else please watch the opening story, it's true and quite funny :o). Now as to the talk, as you could imagine, it touches on another language as well... Andrei

Shopping on Amazon on Prime Day (and beyond)? Support the D language!

2018-07-17 Thread Andrei Alexandrescu via Digitalmars-d-announce
Amazon has a nonprofit arm: https://smile.amazon.com Go there and choose The D Language Foundation as your charity of choice, then shop normally through smile.amazon.com. A fraction of your expenditure will go to the Foundation. Thanks, Andrei

Vision document for H1 2018

2018-03-09 Thread Andrei Alexandrescu via Digitalmars-d-announce
Hello, the vision document of the Founation for the first six months of 2018 is here: https://wiki.dlang.org/Vision/2018H1 In addition to the expected items, we have a new top-level priority - locking down the language definition. This is in recognition of the fact that we need a precise

Re: An optional/maybe type with range semantics

2018-02-28 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 2/28/18 12:54 PM, Andrei Alexandrescu wrote: On 2/25/18 8:03 PM, aliak wrote: Alo, Just finished up a first take on an optional type for D. It's essentially a mix of Nullable and std.range.only, but with a lot more bells and whistles. I would love to hear any feedback on code, or

Re: An optional/maybe type with range semantics

2018-02-28 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 2/25/18 8:03 PM, aliak wrote: Alo, Just finished up a first take on an optional type for D. It's essentially a mix of Nullable and std.range.only, but with a lot more bells and whistles. I would love to hear any feedback on code, or features, or bad design or potential for better designs

Please submit to DConf 2018!

2018-02-21 Thread Andrei Alexandrescu via Digitalmars-d-announce
With the Feb 25 deadline looming, allow me to holler to everyone who has worked on great things in the D language through the past year: please make a DConf 2018 submission! By all measures there's been significant pick up in contributions to the D language during the recent months, and it

Re: D's Newfangled Name Mangling

2017-12-22 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 12/20/17 8:57 AM, Mike Parker wrote: Many thanks to Rainer for his insightful new article for the D Blog outlining the new name mangling algorithm. He talks about the old implementation and its limitations before going into the details of the new one. It's a topic I had never considered

Meet our new scholarship recipient, Alexandru Jercaianu

2017-10-02 Thread Andrei Alexandrescu via Digitalmars-d-announce
Hello everyone, it is my pleasure to announce that Alexandru Jercaianu, a starting MSc student at University "Politehnica" Bucharest, is recipient of our scholarship. Alex is up and running working on his bootcamp tasks. Currently he is attempting unsuccessfully to post in our general group

Re: Boston D Meetup: Strawman Structs

2017-07-28 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 7/25/17 5:50 AM, John Colvin wrote: On Sunday, 2 July 2017 at 10:35:49 UTC, Steven Schveighoffer wrote: I'll have a short presentation on a weird trick I discovered while writing some MySQL serialization code. Hope you can attend!

Re: H2 2017 Vision Document

2017-07-25 Thread Andrei Alexandrescu via Digitalmars-d-announce
On Tuesday, 25 July 2017 at 15:09:37 UTC, Mike Parker wrote: On Tuesday, 25 July 2017 at 14:16:18 UTC, Atila Neves wrote: How would one go about volunteering? Atila I think you just did. Atila, welcome to Team Phobos.

Re: DIP 1010--Static foreach--Accepted

2017-07-17 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 7/17/17 8:38 AM, Steven Schveighoffer wrote: What is the resolution of how break statements affect static foreach/foreach? We initially allowed break and continue to refer to the enclosing statement, but upon further consideration we will make it an error. This allows us to collect more

static foreach is now in github master

2017-07-17 Thread Andrei Alexandrescu via Digitalmars-d-announce
For those who want to play with our new static foreach feature and are willing to take the steps to building their own dmd, the feature is now merged in master: https://github.com/dlang/dmd/pull/6760 Happy hacking! Andrei

Re: Munich D Meetup July 2017

2017-07-16 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 7/14/17 5:32 PM, Dragos Carp wrote: Bump the thread, the next Munich D Meetup is getting closer. Greetings to the D community in München, which seems to be our strongest local group. Hoping for a solid turnout at this meeting because it may prompt a larger event later on. Would be happy

Re: DIP 1010--Static foreach--Accepted

2017-07-16 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 7/16/17 9:10 AM, Mike Parker wrote: Congratulations to Timon Gehr. Not only was his "Static foreach" DIP accepted, it picked up a good deal of praise from Walter & Andrei. Indeed. Kudos to Timon (and thanks Mike for driving the process). This is a well done DIP that many others could draw

RedMonk language rankings June 15, 2017

2017-06-24 Thread Andrei Alexandrescu via Digitalmars-d-announce
http://i-programmer.info/news/98-languages/10859-redmonk-rankings-reveal-the-languages-we-love.html -- Andrei

Article on i-programmer.info on GDC

2017-06-24 Thread Andrei Alexandrescu via Digitalmars-d-announce
http://i-programmer.info/news/98-languages/10883-d-gets-a-boost-from-gcc.html Andrei

Re: Ali's talk C++Now 2017: Competitive Advantage with D on Reddit!

2017-06-08 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 6/8/17 5:03 PM, Wulfklaue wrote: On Thursday, 8 June 2017 at 20:38:33 UTC, Ali Çehreli wrote: That link doesn't work for me. Besides, I've heard that it's better not to click through a link as HN either rates it lower or flags it as spam. Not sure though, I'm just contributing to cargo

Re: DIP 1003 (Remove body as a Keyword) Accepted!

2017-06-03 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 06/03/2017 11:08 AM, Andrei Alexandrescu wrote: On 6/2/17 10:17 AM, Mike Parker wrote: Congratulations are in order for Jared Hanson. Walter and Andrei have approved his proposal to remove body as a keyword. I've added a summary of their decision to the end of the DIP for anyone who cares

Re: DIP 1003 (Remove body as a Keyword) Accepted!

2017-06-03 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 6/2/17 10:17 AM, Mike Parker wrote: Congratulations are in order for Jared Hanson. Walter and Andrei have approved his proposal to remove body as a keyword. I've added a summary of their decision to the end of the DIP for anyone who cares to read it. In short: * body temporarily becomes a

Re: DCompute is now in the master branch of LDC

2017-05-31 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 5/31/17 6:03 PM, Jonathan M Davis via Digitalmars-d-announce wrote: On Wednesday, May 31, 2017 18:55:14 bachmeier via Digitalmars-d-announce wrote: On Wednesday, 31 May 2017 at 12:28:47 UTC, Nicholas Wilson wrote: But can we please reduce the bike shedding Marketing is only bike shedding

Re: DCompute is now in the master branch of LDC

2017-05-31 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 5/31/17 7:28 PM, Nicholas Wilson wrote: On Wednesday, 31 May 2017 at 22:15:33 UTC, Wulfklaue wrote: On Wednesday, 31 May 2017 at 12:28:47 UTC, Nicholas Wilson wrote: Perhaps there will be scope for renaming if/when this also includes graphics when either OpenCL is merged into the Vulkan API

Re: DCompute is now in the master branch of LDC

2017-05-31 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 5/30/17 3:23 PM, Jack Stouffer wrote: On Tuesday, 30 May 2017 at 18:06:56 UTC, Walter Bright wrote: I fear the conversation will go like this, like it has for me: N: DCompute W: What's DCompute? N: Enables GPU programming with D W: Cool! instead of: N: D-GPU W: Cool! I can use D to

Re: Trip notes from Israel

2017-05-26 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 5/22/17 6:53 PM, cym13 wrote: On Monday, 22 May 2017 at 15:05:24 UTC, Andrei Alexandrescu wrote: http://dlang.org/blog/2017/05/22/introspection-introspection-everywhere/ -- Andrei Now that you are back and could take some time to think this over, would you say your trip will influence how

Generating checked integral operations [WAS: Trip notes from Israel]

2017-05-23 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 05/23/2017 11:37 AM, Stefan Koch wrote: The compiler does indeed seem to optimize the code somewhat. Although the generated asm still looks wired.

Re: Trip notes from Israel

2017-05-23 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 5/22/17 4:51 PM, Johan Engelen wrote: On Monday, 22 May 2017 at 15:05:24 UTC, Andrei Alexandrescu wrote: http://dlang.org/blog/2017/05/22/introspection-introspection-everywhere/ -- Andrei A fun read! "(Late at night, I double checked. Mozilla’s CheckedInt is just as bad as I remembered.

Re: Trip notes from Israel

2017-05-22 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 05/22/2017 11:26 AM, Andrei Alexandrescu wrote: On 05/22/2017 11:23 AM, Adam D. Ruppe wrote: On Monday, 22 May 2017 at 15:05:24 UTC, Andrei Alexandrescu wrote: mixin is a statement so it needs a terminator, hence the semicolon at the very end. In turn, mixin takes a string (the

Re: Trip notes from Israel

2017-05-22 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 05/22/2017 11:23 AM, Adam D. Ruppe wrote: On Monday, 22 May 2017 at 15:05:24 UTC, Andrei Alexandrescu wrote: mixin is a statement so it needs a terminator, hence the semicolon at the very end. In turn, mixin takes a string (the concatenation of variable op That actually depends on context!

Re: Trip notes from Israel

2017-05-22 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 05/22/2017 11:05 AM, Andrei Alexandrescu wrote: http://dlang.org/blog/2017/05/22/introspection-introspection-everywhere/ -- Andrei Submitted to reddit as well: https://www.reddit.com/r/programming/comments/6cntso/from_the_d_blog_introspection_introspection/ -- Andrei

Trip notes from Israel

2017-05-22 Thread Andrei Alexandrescu via Digitalmars-d-announce
http://dlang.org/blog/2017/05/22/introspection-introspection-everywhere/ -- Andrei

Re: [OT] Fast Deterministic Selection

2017-05-22 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 05/20/2017 04:52 PM, Jon Degenhardt wrote: On Thursday, 18 May 2017 at 15:14:17 UTC, Andrei Alexandrescu wrote: The implementation is an improved version of what we now have in the D standard library. I'll take up the task of updating phobos at a later time.

[OT] Fast Deterministic Selection

2017-05-18 Thread Andrei Alexandrescu via Digitalmars-d-announce
The implementation is an improved version of what we now have in the D standard library. I'll take up the task of updating phobos at a later time. https://www.reddit.com/r/programming/comments/6bwsjn/fast_deterministic_selection_sea_2017_now_with/ Andrei

Re: Andre's Google Tel Aviv Talk

2017-05-16 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 05/16/2017 11:02 AM, Walter Bright wrote: On 5/16/2017 7:00 AM, Andrei Alexandrescu wrote: Same material as my DConf talk, better delivery. Longer, too, however. -- Andrei I.e. the Director's Cut. It's been also on https://news.ycombinator.com/newest as of a few minutes ago. -- Andrei

Re: Andre's Google Tel Aviv Talk

2017-05-16 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 05/16/2017 09:51 AM, Mike Parker wrote: Weka.IO invited Andrei to talk at a meetup at Google Tel Aviv last week. The video of the talk is online: https://www.youtube.com/watch?v=es6U7WAlKpQ=youtu.be Same material as my DConf talk, better delivery. Longer, too, however. -- Andrei

Working code in an upcoming PR by Timon Gehr

2017-05-07 Thread Andrei Alexandrescu via Digitalmars-d-announce
Zoom in on the screen for a nice surprise! http://imgur.com/a/qjI4l -- Andrei

Re: My D tool projects have moved

2017-05-07 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 5/7/17 10:59 AM, Brian Schott wrote: I moved DCD, D-Scanner, dfmt, and other D tool projects to the dlang-community organization on Github: https://github.com/dlang-community This should make things more convenient if I get hit by a bus, decide that Malbolge* is the one true programming

My slides for tomorrow

2017-05-05 Thread Andrei Alexandrescu via Digitalmars-d-announce
https://erdani.com/dconf2017-slides.pdf -- Andrei

Re: The DConf Experience

2017-04-19 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 4/19/17 11:26 AM, Joakim wrote: Nice post. What's the occupancy like for the event so far? Seemed pretty full last year, wondering how many more can sign up this year. There are still available seats. -- Andrei

The Strange Loop Call for Presentations

2017-04-10 Thread Andrei Alexandrescu via Digitalmars-d-announce
https://thestrangeloop.com/cfp.html Track of interest: Languages - functional programming, logic programming, dynamic/scripting languages, new or emerging languages (and of course others depending on domain). Andrei

InfoWorld article on the open sourcing of dmd

2017-04-10 Thread Andrei Alexandrescu via Digitalmars-d-announce
http://www.infoworld.com/article/3188427/application-development/free-at-last-d-languages-official-compiler-is-open-source.html Andrei

Re: automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

2017-04-09 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 4/9/17 4:56 AM, Atila Neves wrote: Using std.experimental.allocator? Tired of writing `scope(exit) allocator.dispose(foo);` in a language with RAII? Me too: http://code.dlang.org/packages/automem Example: I think the code in the README should be enough to understand what's going on.

Re: dmd Backend converted to Boost License

2017-04-07 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 04/07/2017 12:01 PM, Jack Stouffer wrote: On Friday, 7 April 2017 at 15:14:40 UTC, Walter Bright wrote: https://github.com/dlang/dmd/pull/6680 Yes, this is for real! Symantec has given their permission to relicense it. Thank you, Symantec! Reddit:

Mike Parker is the new DIP czar

2017-04-03 Thread Andrei Alexandrescu via Digitalmars-d-announce
Hello, By this we are happy to announce that Mike Parker graciously agreed to take over the role of DIP czar. DIP management requires a mix of skills (technical, editorial, organizational, interpersonal, and literary) that Mike possesses in spades. Looking forward to a long and fruitful

Re: D event in Bucharest

2017-03-18 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 3/18/17 9:35 PM, Jack Stouffer wrote: On Saturday, 18 March 2017 at 15:02:23 UTC, Andrei Alexandrescu wrote: I'll give a talk on D at University "Politehnica" Bucharest on Friday, March 24. Share wide! https://www.facebook.com/events/267258633731095/ Andrei Will the talk be recorded?

D event in Bucharest

2017-03-18 Thread Andrei Alexandrescu via Digitalmars-d-announce
I'll give a talk on D at University "Politehnica" Bucharest on Friday, March 24. Share wide! https://www.facebook.com/events/267258633731095/ Andrei

Re: DConf 2017 Hotel - book now!

2017-03-02 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 03/01/2017 09:24 PM, Walter Bright wrote: http://www.ibis.com/gb/hotel-5694-ibis-berlin-neukoelln/index.shtml Last year, some people booked late and it was full and they had to stay at another hotel. Thanks Walter. Note: if you want to bunk/offer bunk to a friend, you may want to book the

Re: DConf 2017 Early Bird Registration expires Monday!

2017-02-28 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 02/28/2017 02:34 AM, Jacob Carlborg wrote: On 2017-02-28 07:08, Walter Bright wrote: I had sent a confirmation email. Unfortunately, there are often problems with this, as the emails get put in the recipient's spam folder. Could we please just fix the problem. It has been fixed on 2/25.

Re: DConf 2017 Early Bird Registration expires Monday!

2017-02-25 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 2/25/17 8:25 AM, Moritz Maxeiner wrote: On Saturday, 25 February 2017 at 07:02:48 UTC, Walter Bright wrote: http://dconf.org/2017/registration.html Don't forget, it goes up to $400 after Monday. Just registered and was returned to http://dconf.org/2017/thankyou.html afterwards, which

Re: Getters/setters generator

2017-01-18 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/18/17 5:29 PM, Mark wrote: I see. Is there a way to call invariant() of a class/struct directly? That would obviate the need for a particular predicate (copy the class state, run the setter, check if invariants are satisfied and restore previous state if they aren't). It seems painfully

Re: Getters/setters generator

2017-01-17 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/17/17 12:08 PM, Mark wrote: On Tuesday, 17 January 2017 at 09:17:56 UTC, Andrei Alexandrescu wrote: On 1/17/17 9:32 AM, Eugene Wissner wrote: Ah, well thanks. I don't think it makes much sense since it would be easier to write a complete setter if the user needs extra checks. Accessors

Re: Getters/setters generator

2017-01-17 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/17/17 9:32 AM, Eugene Wissner wrote: Ah, well thanks. I don't think it makes much sense since it would be easier to write a complete setter if the user needs extra checks. Accessors are there only for the generation of the standard methods, that just get or set some object property.

Re: Getters/setters generator

2017-01-17 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/17/17 8:26 AM, Eugene Wissner wrote: On Friday, 9 December 2016 at 18:53:55 UTC, Andrei Alexandrescu wrote: Love it, and was toying with similar ideas too. One good extension is to add a predicate to the setter, which guards the assignment. -- Andrei What kind of predicate do you mean?

Re: Vision document for H1 2017

2017-01-07 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 01/07/2017 02:55 PM, Martin Nowak wrote: On 01/05/2017 11:00 AM, Basile B. wrote: I don't known what did you decide in intern but when the discussion between users was hot (just after version 2.071.1 I think) I've proposed that:

Re: Reminder - DConf 2017 is May 4-6 !!

2017-01-07 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 01/06/2017 08:06 PM, Stefan Koch wrote: On Saturday, 7 January 2017 at 00:46:31 UTC, Walter Bright wrote: It's 2017 already - sharpen your pencils and start on a proposal for a presentation! Time is moving fast! Thanks for the remainder. I am still torn between talking about the past of

Re: Vision document for H1 2017

2017-01-07 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 01/04/2017 11:43 PM, Basile B. wrote: To simplify introspection with library traits that use the compiler "__traits()" someone has to remove the restrictions related to protection attributes. This is not a new topic. Without this, the new library traits won't work well and people won't use

New (page-per-artifact) standard library doc examples are now editable and runnable

2017-01-07 Thread Andrei Alexandrescu via Digitalmars-d-announce
Following https://github.com/dlang/dlang.org/pull/1532, the new-style docs now also allow editing and running examples. Start at http://dlang.org/library-prerelease/ and go anywhere to check it out. Thanks are due to Sönke Ludwig and Sebastian Wilzbach! Andrei

Re: Vision document for H1 2017

2017-01-07 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 01/04/2017 08:06 PM, Dibyendu Majumdar wrote: C++ integration has disappeared? Is this now "done"? We have a student on that. I've added a line for that to the doc. -- Andrei

Vision document for H1 2017

2017-01-04 Thread Andrei Alexandrescu via Digitalmars-d-announce
We release a brief Vision document summarizing the main goals we plan to pursue in the coming six months. This half we are focusing on three things: safety, lifetime management, and static introspection. https://wiki.dlang.org/Vision/2017H1 Andrei

Re: Google Summer of Code 2017

2016-12-27 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 12/26/16 6:25 PM, Craig Dillabaugh wrote: I've now created the Google Summer of Code Idea's page for 2017. Its empty at the moment, awaiting all your wonderful ideas: https://wiki.dlang.org/GSOC_2017_Ideas You can edit the page directly, though I may edit any submitted ideas for the sake

Re: Blog Post - profiling with perf and friends

2016-12-25 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 12/25/2016 02:16 PM, Martin Nowak wrote: Just a few infos on using perf and related tools for profiling on linux. https://code.dawg.eu/profiling-with-perf-and-friends.html That's awesome and very easy to follow, reproduce, and tweak. One thing that would be terrific (also in keep with

Re: New GDC binaries: 2.068.2, shared library support, multilib support & a new gdmd tool

2016-12-25 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 12/25/2016 02:41 PM, Johannes Pfau wrote: Happy holidays everybody, I'm happy to finally announce the release of new GDC binaries at https://gdcproject.org/downloads . GDC is the GNU D Compiler, a D compiler using GCC as the compiler backend. Congratulations! We are very hopeful that all

Re: Silicon Valley D Meetup - December 22, 2016 - "The Curse of Knowledge: Et tu, D?" by Adam Wilson

2016-12-24 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 12/24/16 2:30 AM, Ali Çehreli wrote: On 12/15/2016 12:20 AM, Ali Çehreli wrote: https://www.meetup.com/D-Lang-Silicon-Valley/events/236253882/ The slides: http://files.meetup.com/18234529/The%20Curse%20of%20Knowledge.pptx The video: http://youtu.be/XjnBMfVTI0k (There is no audio on

Re: [your donation here]

2016-12-19 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 12/19/2016 09:26 PM, Joakim wrote: On Monday, 19 December 2016 at 19:39:25 UTC, Andrei Alexandrescu wrote: The D Language has had a great year! Among the many highlights, we are very proud to offer scholarships to four exceptional graduate students

[your donation here]

2016-12-19 Thread Andrei Alexandrescu via Digitalmars-d-announce
The D Language has had a great year! Among the many highlights, we are very proud to offer scholarships to four exceptional graduate students (https://dlang.org/blog/2016/12/05/the-d-language-foundations-scholarship-program/). With your help, more great graduate students could pursue research

Many documentation examples can now be run online

2016-12-19 Thread Andrei Alexandrescu via Digitalmars-d-announce
Take a look e.g. at https://dlang.org/phobos-prerelease/std_algorithm_iteration.html. Examples now have "Edit" and "Run" buttons that allow you to play with them online and see what they output. Changes for the ddox version forthcoming. Related: https://github.com/dlang/dlang.org/pull/1297,

Re: LDC 1.1.0-beta6

2016-12-13 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 12/13/2016 02:37 PM, kinke wrote: Hey all, on behalf of the LDC team I am proud to announce the new 1.1.0-beta6 release! It's based on the 2.071.2 frontend and standard library and supports LLVM 3.5 up to current trunk (4.0). This is awesome! Could you please tell what the expected lag

  1   2   3   4   5   6   7   >