On 10/06/14 19:43, Adam D. Ruppe wrote:
blargh, I thought it could do more. Does it at least work to pull out
extern C functions from a C++ header?
Hmm, I haven't tried that. You need to specified which language to use.
Currently DStep has hard coded its language support, in which C++ is not
On Friday, 30 May 2014 at 11:48:57 UTC, Chris wrote:
There's _always_ something you can learn, even if you think you
know it all.
Like the fact that you can @disable this() for a struct, even
though you can't implement it. I didn't know that, but I have the
perfect use case for it (and it's
On Monday, 9 June 2014 at 19:14:15 UTC, Jacob Carlborg wrote:
Adam, I noticed that you mentioned DStep in the book. By
reading the part about integrating with C++ I got the
impression that DStep can handle C++. Currently, that's not the
case.
blargh, I thought it could do more. Does it at
On Tuesday, 10 June 2014 at 17:31:52 UTC, Lars T. Kyllingstad
wrote:
Like the fact that you can @disable this() for a struct, even
though you can't implement it.
If my memory is working properly I actually think I was the one
who suggested that to Walter a few years ago when it was
On 2014-05-28 20:14, Walter Bright wrote:
http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217
http://www.reddit.com/r/programming/comments/26pn00/d_cookbook_officially_published_consists_of_d/
After
On Thursday, 5 June 2014 at 17:48:44 UTC, Jacob Carlborg wrote:
On 2014-06-05 11:25, Chris wrote:
My hard copy arrived today. Now I can read it anywhere I like
;)
Funnily enough, it's only the second book about D and still
I've been
more productive in D than in any other language, languages
On Wednesday, 4 June 2014 at 09:45:39 UTC, ezneh wrote:
On Wednesday, 28 May 2014 at 18:14:28 UTC, Walter Bright wrote:
http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217
On 2014-06-05 11:25, Chris wrote:
My hard copy arrived today. Now I can read it anywhere I like ;)
Funnily enough, it's only the second book about D and still I've been
more productive in D than in any other language, languages for which
thousands of titles are available.
There's a book
I am happy to report that it is on Safari Books website as well.
Sweet!
It really compliment's TDPL and Ali's book as well.
Walter Bright newshou...@digitalmars.com wrote in message
news:lm5924$7r8$1...@digitalmars.com...
http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217
On Friday, 30 May 2014 at 09:07:54 UTC, Mike James wrote:
Walter Bright newshou...@digitalmars.com wrote in message
news:lm5924$7r8$1...@digitalmars.com...
http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217
I received my copy this morning, earlier than I thought I would.
I shall check it out over the weekend. I suspect I'll probably
know a lot of the things in the book, but I'm the type who likes
to watch introductory lectures because there's always something I
didn't see before.
On Friday, 30 May 2014 at 11:46:35 UTC, w0rp wrote:
I received my copy this morning, earlier than I thought I
would. I shall check it out over the weekend. I suspect I'll
probably know a lot of the things in the book, but I'm the type
who likes to watch introductory lectures because there's
On Friday, 30 May 2014 at 11:25:45 UTC, Chris wrote:
If you already know D, you don't need to read it
cover-to-cover. Just read the sexy bits :)
Yea, I also tried to keep the dependencies on previous content to
a minimum or at the least, explicit to make jumping around that
much easier.
On Friday, 30 May 2014 at 11:46:35 UTC, w0rp wrote:
I received my copy this morning, earlier than I thought I would.
I still haven't gotten my copies! Hopefully will be here today
though.
I suspect I'll probably know a lot of the things in the book
Yea, especially if you're a regular on
On Friday, 30 May 2014 at 13:25:28 UTC, Adam D. Ruppe wrote:
On Friday, 30 May 2014 at 11:25:45 UTC, Chris wrote:
If you already know D, you don't need to read it
cover-to-cover. Just read the sexy bits :)
Yea, I also tried to keep the dependencies on previous content
to a minimum or at the
On Fri, 30 May 2014 11:48:56 +
Chris via Digitalmars-d-announce digitalmars-d-announce@puremagic.com
wrote:
On Friday, 30 May 2014 at 11:46:35 UTC, w0rp wrote:
I received my copy this morning, earlier than I thought I
would. I shall check it out over the weekend. I suspect I'll
Walter Bright wrote:
http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217
http://www.reddit.com/r/programming/comments/26pn00/d_cookbook_officially_published_consists_of_d/
After watching Adam's most
On 2014-05-28 20:14, Walter Bright wrote:
http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217
http://www.reddit.com/r/programming/comments/26pn00/d_cookbook_officially_published_consists_of_d/
After
On 05/29/2014 11:51 AM, Jacob Carlborg wrote:
On 2014-05-28 20:14, Walter Bright wrote:
http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217
On Wednesday, 28 May 2014 at 18:14:28 UTC, Walter Bright wrote:
http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217
On Thu, May 29, 2014 at 12:28 PM, Chris via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
On Wednesday, 28 May 2014 at 18:14:28 UTC, Walter Bright wrote:
http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
On Thursday, 29 May 2014 at 10:28:45 UTC, Chris wrote:
I dug into Chapter 3 about ranges. It clarifies a lot of things
about ranges.
Yeah, a lot of the stuff there comes from my own process when
writing my first range consuming function (which is still in a
pretty ugly form in my sha.d on
On Thursday, 29 May 2014 at 10:28:45 UTC, Chris wrote:
On Wednesday, 28 May 2014 at 18:14:28 UTC, Walter Bright wrote:
http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217
On Wednesday, 28 May 2014 at 18:14:28 UTC, Walter Bright wrote:
http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217
On Thursday, 29 May 2014 at 12:45:20 UTC, Adam D. Ruppe wrote:
On Thursday, 29 May 2014 at 10:28:45 UTC, Chris wrote:
I dug into Chapter 3 about ranges. It clarifies a lot of
things about ranges.
Yeah, a lot of the stuff there comes from my own process when
writing my first range consuming
On Thu, 29 May 2014 06:20:51 -0400, Atila Neves atila.ne...@gmail.com
wrote:
For some reason I didn't even know it was available as an ebook
until I read this. At which point I promptly bought it. Dead
trees and their lack of Ctrl-F... :)
To be fair, the physical book comes with access to
On Thursday, 29 May 2014 at 13:12:33 UTC, Chris wrote:
a weird after taste, i.e. questions like is this really the
right way? am I doing something wrong?.
I ask myself that a lot too, even the book isn't really meant to
be authoritative, more like this works pretty well for me
hopefully it
On Thursday, 29 May 2014 at 13:01:50 UTC, Szymon Gatner wrote:
Later in same chapter: ... or being collected by the garbage
collector—its destructor is called, if present.
Is that really true?
hmm, you seem to be right, but this might be a bug. I'm pretty
sure the struct dtors were called
On Thursday, 29 May 2014 at 13:57:41 UTC, Adam D. Ruppe wrote:
On Thursday, 29 May 2014 at 13:01:50 UTC, Szymon Gatner wrote:
Later in same chapter: ... or being collected by the garbage
collector—its destructor is called, if present.
Is that really true?
hmm, you seem to be right, but this
On Thu, 29 May 2014 09:57:40 -0400, Adam D. Ruppe
destructiona...@gmail.com wrote:
On Thursday, 29 May 2014 at 13:01:50 UTC, Szymon Gatner wrote:
Later in same chapter: ... or being collected by the garbage
collector—its destructor is called, if present.
Is that really true?
hmm, you
On Thursday, 29 May 2014 at 13:01:50 UTC, Szymon Gatner wrote:
- point 5 (of How to do it...) says: ... and free the object
if necessary, but then in code:
Sorry, I typed this answer but forgot to actually post it. But to
keep the example focused on postblit and destructor stuff instead
of
On Thursday, 29 May 2014 at 14:42:02 UTC, Steven Schveighoffer
wrote:
The GC never has called struct destructors for arrays of
structs or individual structs allocated on the heap.
Hmm, that's some weird behavior.
On 5/29/2014 8:45 AM, Adam D. Ruppe wrote:
One of the sections there talks about emulating random access on a
structure that doesn't really support it (a linked list) and focuses on
the hidden performance. That's the range-writer side of the same
range-consumer rule: don't try to get fancy and
Packt made an excerpt from the range chapter available too:
https://www.packtpub.com/article/ranges
That's from the tail end of the chapter where I started talking
about emulation performance (relevant to this little convo) and
how to put some stuff together.
On Thu, May 29, 2014 at 2:31 PM, Jacob Carlborg wrote:
Amazon has a version for their Kindle [1]. I have not seen any mentioning of
other formats.
[1]
http://www.amazon.com/D-Cookbook-Adam-D-Ruppe-ebook/dp/B00KLAJ62M/ref=sr_1_1_title_1_kin?s=booksie=UTF8qid=1401366690sr=1-1
But the paper
I have just ordered mine. I can't wait to get it !
Thank you, I ordered mine as well !
On Wednesday, 28 May 2014 at 19:06:04 UTC, Misu wrote:
Thank you, I ordered mine as well !
I am already half through mine :) Great stuff!
39 matches
Mail list logo