Hi group,
Does D have anything like the generators of Python and some other
languages?
Thanks.
On Monday, 29 August 2016 at 21:28:15 UTC, Cauterite wrote:
Ranges serve some of the purposes that generators are often
used for: http://dlang.org/phobos/std_range.html
But you can of course make true coroutine-based generators with
fibres: http://dlang.org/phobos/core_thread.html#.Fiber
Tha
On Monday, 29 August 2016 at 22:03:35 UTC, Ali Çehreli wrote:
Here is an example of a generator fiber:
Thanks, will take a look.
On Tuesday, 30 August 2016 at 00:57:05 UTC, Meta wrote:
There's a Generator class in std.concurrency. I haven't used
https://dlang.org/phobos/std_concurrency.html#.Generator
Thanks, Meta.
Hi list,
What blogs about D do you read?
Thanks in advance.
On Monday, 19 September 2016 at 17:42:51 UTC, A D dev wrote:
Hi list,
What blogs about D do you read?
To be more clear:
- what blogs that include posts on D, would you recommend to a D
beginner?
Thanks.
On Monday, 19 September 2016 at 19:36:22 UTC, Karabuta wrote:
I have one here on Vibe.d for beginners
https://laberba.github.io/2016/hello-world-app-with-the-vibe.d-web-framework/
I will be writing more for-beginners blogs in the coming few
weeks.
Thank you. Will read it.
On Monday, 19 September 2016 at 20:20:26 UTC, Guillaume Piolat
wrote:
https://dlang.org/blog/
http://dblog.aldacron.net/
http://minas-mina.com/
http://nomad.so/tag/d/
http://blog.thecybershadow.net/
https://p0nce.github.io/d-idioms/ (disclaimer: my own)
Great, thanks!
On Monday, 19 September 2016 at 21:49:04 UTC, Ali Çehreli wrote:
https://atilanevesoncode.wordpress.com/
Ali
Thanks, Ali.
On Tuesday, 20 September 2016 at 08:49:59 UTC, sarn wrote:
Don't forget the Planet D aggregator :)
http://planet.dsource.org/
Here's my contribution:
https://theartofmachinery.com/tags/dlang/
Thanks for both of those :)
Hi list,
I'm in the beginning stages of learning D. Enjoying it, but get
some issues now and then. This is one.
When I compile single-file D programs, I don't want to keep the
generated object file (.OBJ, on Windows). I had checked the D
compiler options for this (using dmd --help), and IIRC
On Sunday, 2 October 2016 at 20:47:44 UTC, ag0aep6g wrote:
I think you may be misremembering things. I've checked versions
back to 2.051 (from 2010, oldest I've got lying around). None
of them wrote an executable with -o-.
1.
Thanks a lot for all that checking and for your reply.
2.
I've c
On Monday, 3 October 2016 at 09:06:32 UTC, Dicebot wrote:
Purpose is to skip code generation and only do syntax/semantic
validation. Very helpful when testing compiler because:
a) it takes less time speeding up overall test suite
b) doesn't require runtime static library to succeed, thus
simp
Hi list,
What is the difference between pages under dlang.org/phobos and
dlang.org/library?
And when should we use which, as a reference?
E.g.
https://dlang.org/phobos/std_zip.html
https://dlang.org/library/std/zip.html
I viewed the above two pages and the content seems roughly the
same. H
On Thursday, 27 October 2016 at 18:47:07 UTC, Adam D. Ruppe wrote:
It is the same content, generated at the same time, just laid
out differently.
You can use whichever you find easier.
Thanks, Adam.
15 matches
Mail list logo