On Sunday, 17 December 2023 at 22:39:56 UTC, Witold Baryluk wrote:
I made a bit random video on D lang for noobs, and people who
might be interested.
If you program more than one hour in D, do not watch it, but if
you just found about D, feel free to check it out.
It is not too short, and un
I will try it.
It's in dub now:
https://code.dlang.org/packages/liblfdsd
Also added queue_umm: unbounded,manyproducer,many_consumer,
lock-free queue
On Monday, 23 May 2022 at 23:07:00 UTC, zoujiaqing wrote:
On Sunday, 22 May 2022 at 23:34:19 UTC, mw wrote:
On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:
Does D language have task steal queue?
The requirements are high-performance, lock-free, and
thread-safe.
I have a C's liblfds
On Sunday, 22 May 2022 at 22:37:43 UTC, Stefan Koch wrote:
On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:
Does D language have task steal queue?
The requirements are high-performance, lock-free, and
thread-safe.
I have one called fluffy:
https://github.com/UplinkCoder/fluffy
I am
On Sunday, 22 May 2022 at 23:34:19 UTC, mw wrote:
On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:
Does D language have task steal queue?
The requirements are high-performance, lock-free, and
thread-safe.
I have a C's liblfds D wrapper:
https://github.com/mw66/liblfdsd
right now on
On Sunday, 22 May 2022 at 23:35:11 UTC, mw wrote:
On Sunday, 22 May 2022 at 22:37:43 UTC, Stefan Koch wrote:
On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:
Does D language have task steal queue?
The requirements are high-performance, lock-free, and
thread-safe.
I have one called f
On Sunday, 22 May 2022 at 22:37:43 UTC, Stefan Koch wrote:
On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:
Does D language have task steal queue?
The requirements are high-performance, lock-free, and
thread-safe.
I have one called fluffy:
https://github.com/UplinkCoder/fluffy
Th
On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:
Does D language have task steal queue?
The requirements are high-performance, lock-free, and
thread-safe.
I have a C's liblfds D wrapper:
https://github.com/mw66/liblfdsd
right now only bmm and bss queue are wrapped.
It's not in dub
On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:
Does D language have task steal queue?
The requirements are high-performance, lock-free, and
thread-safe.
I have one called fluffy:
https://github.com/UplinkCoder/fluffy
I am not 100% sure about the performance I did try to make it
re
On Sunday, 22 May 2022 at 21:23:24 UTC, zoujiaqing wrote:
On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:
Does D language have task steal queue?
The requirements are high-performance, lock-free, and
thread-safe.
I think the final usage scenario is similar to this C++ project:
https:
On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:
Does D language have task steal queue?
The requirements are high-performance, lock-free, and
thread-safe.
I think the final usage scenario is similar to this C++ project:
https://github.com/ConorWilliams/Forkpool
Does D language have task steal queue?
The requirements are high-performance, lock-free, and thread-safe.
On Wednesday, 6 April 2022 at 08:55:43 UTC, BoQsc wrote:
I have a feeling that some parts of my code contains
unterminated strings and they do overflow into other string
[...]
If you suspect overflow, you can try string wrapping.
On Wednesday, 6 April 2022 at 08:55:43 UTC, BoQsc wrote:
I have a feeling that some parts of my code contains
unterminated strings and they do overflow into other string
that is to be combined. I'd like to take a look at strings,
analyse them manually and see if any of them end up terminated
o
On Wednesday, 6 April 2022 at 08:55:43 UTC, BoQsc wrote:
I have a feeling that some parts of my code contains
unterminated strings and they do overflow into other string
that is to be combined. I'd like to take a look at strings,
analyse them manually and see if any of them end up terminated
o
I have a feeling that some parts of my code contains unterminated
strings and they do overflow into other string that is to be
combined. I'd like to take a look at strings, analyse them
manually and see if any of them end up terminated or not.
Please provide any relevant examples of how you do
On Monday, 24 August 2020 at 19:56:49 UTC, Tariq Siddiqui wrote:
Hello everyone,
I am looking for a master thesis topic using D Programming
language. Earlier I choose Design by Introspection, but I did
not find enough material in academic journals. DbI total
material which I found is DConf
On Monday, 24 August 2020 at 19:56:49 UTC, Tariq Siddiqui wrote:
Hello everyone,
I am looking for a master thesis topic using D Programming
language. Earlier I choose Design by Introspection, but I did
not find enough material in academic journals. DbI total
material which I found is DConf
On Tuesday, 25 August 2020 at 16:52:17 UTC, aberba wrote:
On Monday, 24 August 2020 at 19:56:49 UTC, Tariq Siddiqui wrote:
Academic don't know innovation. Only history :)
Academia*
On Monday, 24 August 2020 at 19:56:49 UTC, Tariq Siddiqui wrote:
Hello everyone,
I am looking for a master thesis topic using D Programming
language. Earlier I choose Design by Introspection, but I did
not find enough material in academic journals. DbI total
material which I found is DConf
Hello everyone,
I am looking for a master thesis topic using D Programming
language. Earlier I choose Design by Introspection, but I did not
find enough material in academic journals. DbI total material
which I found is DConf Andrei talk and the similar talk at Google
campus, which starts
On Sunday, 16 December 2018 at 19:57:08 UTC, Steven Schveighoffer
wrote:
On 12/16/18 1:37 PM, Marko wrote:
On Amazon The D Programming Language has good reviews but it's
8 years old. So is this book still relevant today?
Mostly, yes. And it's a pretty good book, even if it has some
On Sunday, 16 December 2018 at 18:37:15 UTC, Marko wrote:
On Amazon The D Programming Language has good reviews but it's
8 years old. So is this book still relevant today?
Yes, I would recommend it. It is meant to be comprehensive but
introductory, so many language or library changes
On Tuesday, 18 December 2018 at 01:16:54 UTC, Adam D Ruppe wrote:
They're obvious. Stuff like doubled ; at the end of lines in
code samples, or curly quotes when they should be straight.
(They are the result of me fighting Microsoft Word and the
review process with the publisher.)
A few othe
On Tuesday, 18 December 2018 at 00:36:12 UTC, Ron Tarrant wrote:
Are these typos obvious, or is there an errata?
They're obvious. Stuff like doubled ; at the end of lines in code
samples, or curly quotes when they should be straight. (They are
the result of me fighting Microsoft Word and the
On Tue, Dec 18, 2018 at 12:36:12AM +, Ron Tarrant via Digitalmars-d-learn
wrote:
> On Monday, 17 December 2018 at 15:32:37 UTC, Adam D. Ruppe wrote:
>
> > There's a few minor changes in mine (the D Cookbook one), and a few
> > typos in the book I didn't catch until too late that mean some
> >
On Monday, 17 December 2018 at 15:32:37 UTC, Adam D. Ruppe wrote:
There's a few minor changes in mine (the D Cookbook one), and a
few typos in the book I didn't catch until too late that mean
some examples won't literally compile anyway, but they are all
quite small.
Are these typos obvious,
On Sunday, 16 December 2018 at 22:02:44 UTC, bachmeier wrote:
Sometimes Packt has sales and you can get them pretty cheap.
All Packt ebooks are on sale for $5 right now, so this is a great
time to pick up both books along with Kai's Vibe.d book.
On Monday, 17 December 2018 at 06:08:58 UTC, Jani Hur wrote:
Publish dates are 2014 and 2015. How much the language has
changed/evolved since then and how much it will evolve in
future ?
There's a few minor changes in mine (the D Cookbook one), and a
few typos in the book I didn't catch until
On Monday, 17 December 2018 at 06:08:58 UTC, Jani Hur wrote:
Publish dates are 2014 and 2015. How much the language has
changed/evolved since then and how much it will evolve in
future ? So are these books relevant today and still next two
years ?
There haven't been any changes in the lang
On Sunday, 16 December 2018 at 22:02:44 UTC, bachmeier wrote:
I can recommend D Cookbook
https://www.packtpub.com/application-development/d-cookbook
and Learning D
https://www.packtpub.com/application-development/learning-d
Publish dates are 2014 and 2015. How much the language has
changed/e
On 12/16/2018 11:57 AM, Steven Schveighoffer wrote:
> On 12/16/18 1:37 PM, Marko wrote:
>> On Amazon The D Programming Language has good reviews but it's 8 years
>> old. So is this book still relevant today?
I would still enjoy reading that book but some parts do not matc
On Sunday, 16 December 2018 at 18:37:15 UTC, Marko wrote:
On Amazon The D Programming Language has good reviews but it's
8 years old. So is this book still relevant today?
Would you recommend another book?
PS: I am already a programmer writing mainly in C and C#.
Thanks,
Marko.
On Sunday, 16 December 2018 at 19:57:08 UTC, Steven Schveighoffer
wrote:
I hope you feel right at home here :) But I must warn you, if
you're anything like me, you will hate having to go back to
another language.
-Steve
I think that's how most people start to feel when they start
using D
On 12/16/18 1:37 PM, Marko wrote:
On Amazon The D Programming Language has good reviews but it's 8 years
old. So is this book still relevant today?
Mostly, yes. And it's a pretty good book, even if it has some outdated
parts. There's errata somewhere too.
Would you recomme
On Amazon The D Programming Language has good reviews but it's 8
years old. So is this book still relevant today?
Would you recommend another book?
PS: I am already a programmer writing mainly in C and C#.
Thanks,
Marko.
On Wednesday, November 29, 2017 17:26:11 Nick Treleaven via Digitalmars-d-
learn wrote:
> On Wednesday, 4 October 2017 at 20:49:26 UTC, John Gabriele wrote:
> > What's changed in the language, library, and community since
> > then that I should be aware of if following along with and
> > learning f
On Wednesday, 29 November 2017 at 17:26:11 UTC, Nick Treleaven
wrote:
On Wednesday, 4 October 2017 at 20:49:26 UTC, John Gabriele
wrote:
What's changed in the language, library, and community since
then that I should be aware of if following along with and
learning from that book?
Here's a li
On Wednesday, 29 November 2017 at 17:50:59 UTC, Arun
Chandrasekaran wrote:
Multiple alias this
You can only have one subtyping member currently.
Shared
Not all of shared's guarantees are implemented yet.
SafeD
@safe (and therefore SafeD) isn't fully implemented. So, it
doesn't necessarily
On Wednesday, 29 November 2017 at 17:26:11 UTC, Nick Treleaven
wrote:
Here's a list of significant things - maybe incomplete:
https://wiki.dlang.org/Differences_With_TDPL
Multiple alias this
You can only have one subtyping member currently.
Shared
Not all of shared's guarantees are implemen
On Wednesday, 4 October 2017 at 20:49:26 UTC, John Gabriele wrote:
What's changed in the language, library, and community since
then that I should be aware of if following along with and
learning from that book?
Here's a list of significant things - maybe incomplete:
https://wiki.dlang.org/Dif
On Wednesday, 4 October 2017 at 20:49:26 UTC, John Gabriele wrote:
Hi all,
This is my first message to this forum. And what a pleasure it
is to be here. :)
I was just looking around at what D books are available. I see
that Andrei's "The D Programming Language" was pub
On Wednesday, 4 October 2017 at 20:49:26 UTC, John Gabriele wrote:
Hi all,
This is my first message to this forum. And what a pleasure it
is to be here. :)
I was just looking around at what D books are available. I see
that Andrei's "The D Programming Language" was pub
Andrei's book contains some outdated and some not-yet-implemented things
but it's still a great read. It explains core features and design
decisions of D very well.
Ali
Hi all,
This is my first message to this forum. And what a pleasure it is
to be here. :)
I was just looking around at what D books are available. I see
that Andrei's "The D Programming Language" was published in 2010.
What's changed in the language, library, and communit
On Friday, 15 April 2016 at 18:41:23 UTC, Ali Çehreli wrote:
Having said that, there are some omissions of how some features
interact.
I think it is a fantastic resource and have made much use out of
it. I hope you keep updating it.
It just happens that there are always some random quirk
On 04/15/2016 11:19 AM, jmh530 wrote:
> On Friday, 15 April 2016 at 17:51:41 UTC, Napster wrote:
>> I would like to start learning the De Facto standard. which book or
>> document would you use?
>>
>> http://erdani.com/index.php/books/tdpl/
>>
>> or
>>
>> https://dlang.org/spec/intro.html
>>
>> w
On 04/15/2016 11:31 AM, Napster wrote:
I am writing a survey paper about D programming language. I want to use
De Facto standard in my paper. I am not sure which one is? Both look
the same.
https://dlang.org/spec/intro.html
is it. TDPL is behind some of D changes at this point.
Ali
at those other sources as well.
I am writing a survey paper about D programming language. I want
to use De Facto standard in my paper. I am not sure which one
is? Both look the same.
On Friday, 15 April 2016 at 17:51:41 UTC, Napster wrote:
I would like to start learning the De Facto standard. which
book or document would you use?
http://erdani.com/index.php/books/tdpl/
or
https://dlang.org/spec/intro.html
which one would you call de facto standard?
If I were learning
I would like to start learning the De Facto standard. which book
or document would you use?
http://erdani.com/index.php/books/tdpl/
or
https://dlang.org/spec/intro.html
which one would you call de facto standard?
Ali Çehreli writes:
> I agree and I doubt that I will ever see PinD on a local bookshop
> shelf. What I meant was, IngramSpark makes it *possible* at all for a
> local bookshop to order the book for you and that you can return it
> for a full refund.
Now I'm living in much smaller place and will
On 03/13/2016 02:40 PM, Saša Janiška wrote:
>> quality of the softcover by CreateSpace
> Have you seen this one:
>
>
http://www.amazon.com/gp/customer-reviews/R1WWT9EIV3UDI0/ref=cm_cr_arp_d_rvw_ttl?ie=UTF8&ASIN=0692599436
Yes, I had seen that one. It is unfortunate... :-/
>> I've gone all th
Ali Çehreli writes:
> You may find that D has changed since TDPL was printed but it's still
> a great read. In some places it explains tradeoffs in language design
> in general.
Yeah, I like, based on what I've seen some portions which explains
'why'.
> PiD starts as a tutorial to novices but c
On 03/13/2016 09:27 AM, gour wrote:
> a) how much is Andrei's book still relevant?
You may find that D has changed since TDPL was printed but it's still a
great read. In some places it explains tradeoffs in language design in
general.
> b) whether PiD is recommended one to start with D *toda
On Sunday, 13 March 2016 at 16:27:07 UTC, gour wrote:
Hello,
after quite some time I'm returning to D being fed up with some
other languages to become more ready for writing open-source
multi-platform desktop app(s)...
I already own copy of Andrei's The D Programming Language
Hello,
after quite some time I'm returning to D being fed up with some
other languages to become more ready for writing open-source
multi-platform desktop app(s)...
I already own copy of Andrei's The D Programming Language book,
but never went fully through it, but I see in th
On Tuesday, 12 January 2016 at 00:36:15 UTC, Ali Çehreli wrote:
On 01/11/2016 04:28 PM, asdfa wrote:
> Both DMD and GDC complain, saying
> Error: template instance sort!((a, b)
> {
> return freqs[a] > freqs[b];
> }
> ) template 'sort' is not defined
That issue is already in the errata:
http:
On 01/11/2016 04:28 PM, asdfa wrote:
> Both DMD and GDC complain, saying
> Error: template instance sort!((a, b)
> {
> return freqs[a] > freqs[b];
> }
> ) template 'sort' is not defined
That issue is already in the errata:
http://erdani.com/tdpl/errata/
Add the following line to fix:
import
I have copied more or less verbatim an example from The D
Programming Language, under 1.4.3 Counting Frequencies. Lambda
Functions
This is the code
import std.stdio,
std.string;
void main()
{
uint[string] freqs;
// Compute counts
foreach (line; stdin.byLine())
{
foreach
On 11/13/13, Adam D. Ruppe wrote:
> On Wednesday, 13 November 2013 at 08:16:34 UTC, Tor Einar
> Tønnessen wrote:
>> void writeln(string a0, int a1, string a2, int[new] a3) {
>
> Around the time the book was written, there was a debate as to if
> we should make dynamic arrays and slices two differe
On Wednesday, 13 November 2013 at 08:16:34 UTC, Tor Einar
Tønnessen wrote:
void writeln(string a0, int a1, string a2, int[new] a3) {
Around the time the book was written, there was a debate as to if
we should make dynamic arrays and slices two different types.
T[new] was the proposed syntax f
I guess that new should be length as it represents as an integer
variable
Hello.
I am trying to learn D using (among other things) "The D
Programming Language" book.
On page 161 it says:
snippet...
void writeln(string a0, int a1, string a2, int[new] a3) {
...snippet
I am wondering about the expression "int[new] a3"
What does that mean? I
ed on Github:
https://github.com/D-Programming-Language/d-programming-language.org
To generate the eBook, run:
make dlangspec.mobi
You will need the catdoc tool from the tools collection:
https://github.com/D-Programming-Language/tools
You will also need the kindlegen command line
I reported the error to the author. Thanks guys!
On Sun, Apr 3, 2011 at 3:34 AM, spir wrote:
> On 04/03/2011 09:38 AM, Jesus Alvarez wrote:
>
>> I got it to compile adding std.regex to split to make it:
>>
>> auto words = std.regex.split (sentence, regex("[ \t,.;:?]+"));
>>
>> So now my question
On 04/03/2011 09:38 AM, Jesus Alvarez wrote:
I got it to compile adding std.regex to split to make it:
auto words = std.regex.split (sentence, regex("[ \t,.;:?]+"));
So now my question is, is this an error in the book? The errata doesn't
mention anything about this section.
If the TDPL code d
On 2011-04-03 00:10, Junior wrote:
> Hello, I am completely stuck on this error, any help would be
> appreciated... google was not helpful (too many useless matches for "D
> ").
>
> I am trying to compile this:
>
> import std.string, std.algorithm, std.conv, std.ctype, std.regex,
> std.range, std
I got it to compile adding std.regex to split to make it:
auto words = std.regex.split (sentence, regex("[ \t,.;:?]+"));
So now my question is, is this an error in the book? The errata doesn't
mention anything about this section. Why do I have to prepend std.regex?
Thanks!
Hello, I am completely stuck on this error, any help would be appreciated...
google was not helpful (too many useless matches for "D ").
I am trying to compile this:
import std.string, std.algorithm, std.conv, std.ctype, std.regex, std.range,
std.stdio;
// blah blah blah
auto words = split(senten
On 08/06/10 13:12, Lars T. Kyllingstad wrote:
I don't know when you ordered it, but that has changed now, at least. At
amazon.co.uk it costs £18.50, while at amazon.com it sells for $42.70 --
roughly £29. Also, for Europeans, the delivery cost is lower if you
order from UK.
-Lars
I ordered i
On Tue, 08 Jun 2010 13:00:51 +0100, Robert Clipsham wrote:
> On 08/06/10 11:23, Patrick Byrne wrote:
>> Amazon (UK) tells me that publication of this book is delayed. Is it
>> still coming soon, please?
>>
>> --
>> Patrick Byrne
>
> I ordered it from amazon.com, it was half the priceof the UK ver
On 08/06/10 11:23, Patrick Byrne wrote:
Amazon (UK) tells me that publication of this book is delayed. Is it
still coming soon, please?
--
Patrick Byrne
I ordered it from amazon.com, it was half the priceof the UK version ;)
I've had no delay message about it for a while now, the last one I g
On Tue, 08 Jun 2010 11:23:23 +0100, Patrick Byrne wrote:
> Amazon (UK) tells me that publication of this book is delayed. Is it
> still coming soon, please?
I also ordered it from Amazon UK, and got the same message. But the book
is, as far as I know, finished and printed. So I suppose it's mo
Amazon (UK) tells me that publication of this book is delayed. Is it still
coming soon, please?
--
Patrick Byrne
75 matches
Mail list logo