Beta D 2.068.1-b2

2015-08-31 Thread Martin Nowak via Digitalmars-d-announce
First beta for the 2.068.1 point release (we skipped -b1 due to a bug). http://downloads.dlang.org/pre-releases/2.x/2.068.1/ http://ftp.digitalmars.com/ Also available on Travis-CI as dmd-2.068.1-b2. This beta comes with plent dmd and a few druntime, phobos, and installer fixes.

Re: Beta D 2.068.1-b2

2015-08-31 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-08-31 08:01, Martin Nowak wrote: First beta for the 2.068.1 point release (we skipped -b1 due to a bug). I started compile my projects with DMD 2.068.0 (yes, I know I'm a bit late). I noted that this piece of code that compiles in 2.067.0 doesn't compile in 2.068.0 (or 2.068.1-b2) :

Re: Beta D 2.068.1-b2

2015-08-31 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-08-31 08:01, Martin Nowak wrote: Please report any bugs at https://issues.dlang.org. https://issues.dlang.org/show_bug.cgi?id=14986 -- /Jacob Carlborg

Re: Blog post : OOP composition with mixins

2015-08-31 Thread jmh530 via Digitalmars-d-announce
On Monday, 24 August 2015 at 11:10:16 UTC, Dicebot wrote: Rough summary of the talk I have given for recent Berlin D meetup event: https://blog.dicebot.lv/posts/2015/08/OOP_composition_with_mixins It seems like mixin templates can be used like alias this, but mixin templates are more

Re: Blog post : OOP composition with mixins

2015-08-31 Thread Dicebot via Digitalmars-d-announce
On Monday, 31 August 2015 at 14:44:27 UTC, jmh530 wrote: On Monday, 24 August 2015 at 11:10:16 UTC, Dicebot wrote: Rough summary of the talk I have given for recent Berlin D meetup event: https://blog.dicebot.lv/posts/2015/08/OOP_composition_with_mixins It seems like mixin templates can be

Re: Beta D 2.068.1-b2

2015-08-31 Thread Kenji Hara via Digitalmars-d-announce
On Monday, 31 August 2015 at 07:08:20 UTC, Jacob Carlborg wrote: On 2015-08-31 08:01, Martin Nowak wrote: First beta for the 2.068.1 point release (we skipped -b1 due to a bug). I started compile my projects with DMD 2.068.0 (yes, I know I'm a bit late). I noted that this piece of code that

Article: More hidden treasure in the D standard library

2015-08-31 Thread Gary Willoughby via Digitalmars-d-announce
I've written a new article on D here: http://nomad.so/2015/08/more-hidden-treasure-in-the-d-standard-library/ Hopefully to drive other programmers to investigate D. It's a continuation of a similar one I wrote a few months ago which attracted over 60k readers. It's a simple overview of some

Re: Article: More hidden treasure in the D standard library

2015-08-31 Thread John Colvin via Digitalmars-d-announce
On Monday, 31 August 2015 at 16:09:02 UTC, Gary Willoughby wrote: I've written a new article on D here: http://nomad.so/2015/08/more-hidden-treasure-in-the-d-standard-library/ Hopefully to drive other programmers to investigate D. It's a continuation of a similar one I wrote a few months ago

Re: Article: More hidden treasure in the D standard library

2015-08-31 Thread Gary Willoughby via Digitalmars-d-announce
On Monday, 31 August 2015 at 16:16:15 UTC, John Colvin wrote: why the use of `input.text` instead of just `input` on line 14 of the fizz buzz example? It doesn't compile. Error: mismatched function return type inference of int and string

Re: Article: More hidden treasure in the D standard library

2015-08-31 Thread John Colvin via Digitalmars-d-announce
On Monday, 31 August 2015 at 16:22:36 UTC, Gary Willoughby wrote: On Monday, 31 August 2015 at 16:16:15 UTC, John Colvin wrote: why the use of `input.text` instead of just `input` on line 14 of the fizz buzz example? It doesn't compile. Error: mismatched function return type inference of int

Re: Article: More hidden treasure in the D standard library

2015-08-31 Thread wobbles via Digitalmars-d-announce
On Monday, 31 August 2015 at 16:09:02 UTC, Gary Willoughby wrote: I've written a new article on D here: http://nomad.so/2015/08/more-hidden-treasure-in-the-d-standard-library/ Hopefully to drive other programmers to investigate D. It's a continuation of a similar one I wrote a few months ago

Re: Beta D 2.068.1-b2

2015-08-31 Thread BBasile via Digitalmars-d-announce
On Monday, 31 August 2015 at 13:15:57 UTC, BBasile wrote: On Monday, 31 August 2015 at 06:02:08 UTC, Martin Nowak wrote: [...] It looks like there is a regression in variant.d: I compile template without vibed and get: --- C:\Dev\dmd2\windows\bin\..\..\src\phobos\std\variant.d: Error:

Dynamic arrays

2015-08-31 Thread Minas Mina via Digitalmars-d-announce
I have started a series of tutorials in D. This is my latest blog post, which is about dynamic arrays: http://minas-mina.com/2015/08/31/dynamic-arrays/ Constructive criticism is welcome.

Re: Dynamic arrays

2015-08-31 Thread anonymous via Digitalmars-d-announce
On Monday 31 August 2015 23:09, Minas Mina wrote: > I have started a series of tutorials in D. > > This is my latest blog post, which is about dynamic arrays: > http://minas-mina.com/2015/08/31/dynamic-arrays/ > > Constructive criticism is welcome. "Dynamic arrays are allocated on the garbage

Re: Dynamic arrays

2015-08-31 Thread John Colvin via Digitalmars-d-announce
On Monday, 31 August 2015 at 21:29:09 UTC, anonymous wrote: On Monday 31 August 2015 23:09, Minas Mina wrote: I have started a series of tutorials in D. This is my latest blog post, which is about dynamic arrays: http://minas-mina.com/2015/08/31/dynamic-arrays/ Constructive criticism is

Re: Dynamic arrays

2015-08-31 Thread qznc via Digitalmars-d-announce
On Monday, 31 August 2015 at 21:09:02 UTC, Minas Mina wrote: I have started a series of tutorials in D. This is my latest blog post, which is about dynamic arrays: http://minas-mina.com/2015/08/31/dynamic-arrays/ Constructive criticism is welcome. Minor error with strings. It is

Re: Dynamic arrays

2015-08-31 Thread Steven Schveighoffer via Digitalmars-d-announce
On 8/31/15 5:09 PM, Minas Mina wrote: I have started a series of tutorials in D. This is my latest blog post, which is about dynamic arrays: http://minas-mina.com/2015/08/31/dynamic-arrays/ Constructive criticism is welcome. Technical difference, in an array layout, length comes first, then

Re: Dynamic arrays

2015-08-31 Thread Steven Schveighoffer via Digitalmars-d-announce
On 8/31/15 5:36 PM, John Colvin wrote: On Monday, 31 August 2015 at 21:29:09 UTC, anonymous wrote: On Monday 31 August 2015 23:09, Minas Mina wrote: I have started a series of tutorials in D. This is my latest blog post, which is about dynamic arrays:

Re: Dynamic arrays

2015-08-31 Thread jmh530 via Digitalmars-d-announce
On Monday, 31 August 2015 at 21:09:02 UTC, Minas Mina wrote: Constructive criticism is welcome. In the "define a dynamic array" section, I often find myself writing int[] numbers; numbers.length = 3; Instead of int[] numbers = new int[3]; I understand that this fits with the resizing section

Re: Dynamic arrays

2015-08-31 Thread anonymous via Digitalmars-d-announce
On Monday 31 August 2015 23:36, John Colvin wrote: > I prefer the term "slice" to dynamic array. Because it's an > unfamiliar term it helps prevent confusion for people who are > used to what other languages call dynamic arrays. I'm not a fan of the term "slice". Not because I dislike the word

Re: Moving forward with work on the D language and foundation

2015-08-31 Thread John via Digitalmars-d-announce
On Thursday, 27 August 2015 at 16:01:54 UTC, BBasile wrote: That's courageous, particularly past 50 yo. It's a different culture, past 50 yo in Europe people choose security, but in USA, past 50 yo some people still take the risk to try something new. Awesome. The lifespan has been

Re: Moving forward with work on the D language and foundation

2015-08-31 Thread John via Digitalmars-d-announce
On Monday, 31 August 2015 at 23:27:40 UTC, John wrote: The lifespan has been steadily increasing. Andrew could work for another 50 years! That means he is very young right now and free to do anything he wants. Sorry for misspelling Andrei's name.

Re: "Programming in D" paper book is available for purchase

2015-08-31 Thread John via Digitalmars-d-announce
On Wednesday, 19 August 2015 at 00:57:32 UTC, Ali Çehreli wrote: I am very happy! :) It will be available on many other distribution channels like Amazon in a few days as well but the following is the link that pays me the most royalty: https://www.createspace.com/5618128 Awesome!

Re: "Programming in D" paper book is available for purchase

2015-08-31 Thread Ali Çehreli via Digitalmars-d-announce
On 08/31/2015 04:46 PM, John wrote: On Wednesday, 19 August 2015 at 00:57:32 UTC, Ali Çehreli wrote: I am very happy! :) It will be available on many other distribution channels like Amazon in a few days as well but the following is the link that pays me the most royalty:

Re: Programming in D – Tutorial and Reference

2015-08-31 Thread Daniel Kozák via Digitalmars-d-announce
On Mon, 31 Aug 2015 01:22:56 + "puming" wrote: > On Friday, 28 August 2015 at 22:58:30 UTC, Luís Marques wrote: > > On Friday, 28 August 2015 at 22:42:00 UTC, sigod wrote: > >> Actual link: https://news.ycombinator.com/item?id=10136882 > > > > I think Walter didn't

v0.2.1 of EMSI's containers library

2015-08-31 Thread Brian Schott via Digitalmars-d-announce
https://github.com/economicmodeling/containers This containers library is built on top of Andrei's std.experimental.allocator. It's currently used by libraries internal to EMSI, as well as the open-source DCD project. The containers are backed by malloc (Mallocator) by default, but you can

Re: Dynamic arrays

2015-08-31 Thread Minas Mina via Digitalmars-d-announce
On Monday, 31 August 2015 at 21:45:26 UTC, Steven Schveighoffer wrote: On 8/31/15 5:09 PM, Minas Mina wrote: I have started a series of tutorials in D. This is my latest blog post, which is about dynamic arrays: http://minas-mina.com/2015/08/31/dynamic-arrays/ Constructive criticism is

Re: v0.2.1 of EMSI's containers library

2015-08-31 Thread welkam via Digitalmars-d-announce
thanks for sharing

Re: Blog post : OOP composition with mixins

2015-08-31 Thread Abdulhaq via Digitalmars-d-announce
On Monday, 24 August 2015 at 13:28:23 UTC, Atila Neves wrote: On Monday, 24 August 2015 at 11:10:16 UTC, Dicebot wrote: Rough summary of the talk I have given for recent Berlin D meetup event: https://blog.dicebot.lv/posts/2015/08/OOP_composition_with_mixins Nice. I've only just started

Re: Beta D 2.068.1-b2

2015-08-31 Thread BBasile via Digitalmars-d-announce
On Monday, 31 August 2015 at 06:02:08 UTC, Martin Nowak wrote: First beta for the 2.068.1 point release (we skipped -b1 due to a bug). http://downloads.dlang.org/pre-releases/2.x/2.068.1/ http://ftp.digitalmars.com/ Also available on Travis-CI as dmd-2.068.1-b2. This beta comes with plent