Re: gtkDcoding Blog Post for 2019-03-29 - Grid

2019-04-03 Thread Ron Tarrant via Digitalmars-d-learn
On Tuesday, 2 April 2019 at 18:27:10 UTC, Mike Wey wrote: While that would be true for things that live on the stack, this is not the case for RGBA. The C version of getRgba uses the "out" parameter so you can pass in a existing GdkRgba, even tough that would make it more like ref. This

Re: Multitasking question: Making a picture viewer, loading lots of images in the background

2019-04-03 Thread Aldo via Digitalmars-d-learn
On Wednesday, 3 April 2019 at 02:59:51 UTC, realhet wrote: Hi, I'm writing a picture browser program and I'd like to ask for a bit of assistance. [...] Hello, maybe the following links can be useful: http://ddili.org/ders/d.en/parallelism.html http://ddili.org/ders/d.en/fibers.html

Re: Multitasking question: Making a picture viewer, loading lots of images in the background

2019-04-03 Thread realhet via Digitalmars-d-learn
On Wednesday, 3 April 2019 at 04:09:45 UTC, DanielG wrote: My understanding is that there's no benefit to creating more than the number of hyperthreads your CPU Yes. I'm just searching for a higher abstraction to manage this easily in D. I've already did it years ago on Delphi. (-> Manage N